 | PropertySupportExtractPropertyNameT Methode |
Prüft eine übergebene Expression auf ihren Status als public Property
und extrahiert ihren Namen als String.
Namensraum: NetEti.MVVMiniAssembly: NetEti.MVVMini (in NetEti.MVVMini.dll) Version: 1.0.0+faf3aa8dcc38bbe36a3c92b1a9f73c75fc662c99
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<typename T>
static String^ ExtractPropertyName(
Expression<Func<T>^>^ propertyExpression
)
static member ExtractPropertyName :
propertyExpression : Expression<Func<'T>> -> string
Parameter
- propertyExpression ExpressionFuncT
- Die Property-Funktionalität.
Typenparameter
- T
- Der Typ der Property.
Rückgabewert
StringDer Name der Property.
Siehe auch