ModelExtensionsGetPropertyNameT Method (ExpressionFuncT, Boolean) |
Namespace:
Xcalibur.Extensions
Assembly:
Xcalibur.Extensions (in Xcalibur.Extensions.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax public static string GetPropertyName<T>(
this Expression<Func<T, bool>> expression
)
<ExtensionAttribute>
Public Shared Function GetPropertyName(Of T) (
expression As Expression(Of Func(Of T, Boolean))
) As String
public:
[ExtensionAttribute]
generic<typename T>
static String^ GetPropertyName(
Expression<Func<T, bool>^>^ expression
)
[<ExtensionAttribute>]
static member GetPropertyName :
expression : Expression<Func<'T, bool>> -> string
Parameters
- expression
- Type: System.Linq.ExpressionsExpressionFuncT, Boolean
The expression.
Type Parameters
- T
Return Value
Type:
StringUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ExpressionFuncT,
Boolean. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also