Try our conversational search powered by Generative AI!

Delegate GetPropertyDelegate

The delegate that will be used when fetching properties from a PropertyDataCollection.

Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
public delegate PropertyData GetPropertyDelegate(string name, PropertyDataCollection properties);
Parameters
Type Name Description
System.String name

The name of the property.

PropertyDataCollection properties

The PropertyDataCollection.

Returns
Type Description
PropertyData

The property with the given name from the PropertyDataCollection.

Remarks

It's possible to write your own GetPropertyDelegate and specify that is should be used by setting the GetHandler property of the PropertyDataCollection.

Constructors

GetPropertyDelegate(Object, IntPtr)

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

Methods

BeginInvoke(String, PropertyDataCollection, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(string name, PropertyDataCollection properties, AsyncCallback callback, object object)
Parameters
Type Name Description
System.String name
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(String, PropertyDataCollection)

Declaration
public virtual PropertyData Invoke(string name, PropertyDataCollection properties)
Parameters
Type Name Description
System.String name
PropertyDataCollection properties
Returns
Type Description
PropertyData

Extension Methods