ReflectionGetFieldName Method |
get the name of a passed parameter
Namespace: ANDREICSLIB.HelpersAssembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static string GetFieldName(
Expression<Func<Object>> memberExpression
)
Public Shared Function GetFieldName (
memberExpression As Expression(Of Func(Of Object))
) As String
public:
static String^ GetFieldName(
Expression<Func<Object^>^>^ memberExpression
)
static member GetFieldName :
memberExpression : Expression<Func<Object>> -> string
Parameters
- memberExpression
- Type: System.Linq.ExpressionsExpressionFuncObject
() => variable
Return Value
Type:
Stringvariable name
See Also