 | PropertySupportExtractPropertyNameT Method |
Checks a passed expression for its status as a public property
and extracts its name as a string.
Namespace: NetEti.MVVMiniAssembly: NetEti.MVVMini (in NetEti.MVVMini.dll) Version: 1.0.0+7b60487fcbc3b95636e4fc726213c9ca8562bee8
Syntaxpublic static string ExtractPropertyName<T>(
Expression<Func<T>> propertyExpression
)
Public Shared Function ExtractPropertyName(Of T) (
propertyExpression As Expression(Of Func(Of T))
) As String
public:
generic<type name T>
static String^ ExtractPropertyName(
Expression<Func<T>^>^ propertyExpression
)
static member ExtractPropertyName :
propertyExpression : Expression<Func<'T>> -> string
Parameters
- propertyExpression ExpressionFuncT
- The property functionality.
Type parameters
- T
- The type of property.
Return value
StringThe name of the property.
See also