Delegate GetPropertyByIndexDelegate

The delegate that will be used when fetching properties from a PropertyDataCollection with the Int32 indexer.

Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[Obsolete("GetByIndexHandler is no longer used by the PropertyDataCollection, only the default indexing behavior is supported")]
public delegate PropertyData GetPropertyByIndexDelegate(int index, PropertyDataCollection properties);
Parameters
Type Name Description
System.Int32 index

The index of the property.

PropertyDataCollection properties

The PropertyDataCollection to index into.

Returns
Type Description
PropertyData

The property with the given index from the PropertyDataCollection.

Constructors

GetPropertyByIndexDelegate(Object, IntPtr)

Declaration
public GetPropertyByIndexDelegate(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(Int32, PropertyDataCollection, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(int index, PropertyDataCollection properties, AsyncCallback callback, object object)
Parameters
Type Name Description
System.Int32 index
PropertyDataCollection properties
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual PropertyData EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result
Returns
Type Description
PropertyData

Invoke(Int32, PropertyDataCollection)

Declaration
public virtual PropertyData Invoke(int index, PropertyDataCollection properties)
Parameters
Type Name Description
System.Int32 index
PropertyDataCollection properties
Returns
Type Description
PropertyData

Extension Methods