AdvantageCMS.Core.Admin.BaseClasses Namespace
AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

BusinessObjectBase..::..GetPropertyName<(Of <(<'TObject>)>)> Method (Expression<(Of <(<'Func<(Of <(<'TObject, Object>)>)>>)>)>)

Gets the name of the property.

Namespace:  AdvantageCMS.Core.Admin.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static string GetPropertyName<TObject>(
	Expression<Func<TObject, Object>> propertyRefExpr
)

Type Parameters

TObject
The type of the t object.

Parameters

propertyRefExpr
Type: Expression<(Of <(<'Func<(Of <(<'TObject, Object>)>)>>)>)>
The property reference expr.

Return Value

System.String.