NameOfExtension..::..NameOf<(Of <(<'T, TT>)>)> Method (T, Expression<(Of <(<'Func<(Of <(<'T, TT>)>)>>)>)>)
Name of the specified property accessor.
Namespace:
CoreAssembly: Core (in Core.dll)
Syntax
public static string NameOf<T, TT>( T obj, Expression<Func<T, TT>> propertyAccessor )
Type Parameters
- T
- type of T
- TT
- The type of the t.
Parameters
- obj
- Type: T
The object.
- propertyAccessor
- Type: Expression<(Of <(<'Func<(Of <(<'T, TT>)>)>>)>)>
The property accessor.