PropertyHelperExtractName Method (Expression) |
Retrieves the name of a property from the lambda expression passed across. Returns null
if the expression refers to anything other than a simple property.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static string ExtractName(
Expression expression
)
Public Shared Function ExtractName (
expression As Expression
) As String
public:
static String^ ExtractName(
Expression^ expression
)
static member ExtractName :
expression : Expression -> string
Parameters
- expression
- Type: System.Linq.ExpressionsExpression
Return Value
Type:
StringSee Also