ExpressionExtractHelper.ExtractMembers<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extract referenced members of the type T from the given expression as a list of strings
public static string ExtractMembers<T> (System.Linq.Expressions.Expression<Func<T,object>> expression, out string error);
static member ExtractMembers : System.Linq.Expressions.Expression<Func<'T, obj>> * string -> string
Public Shared Function ExtractMembers(Of T) (expression As Expression(Of Func(Of T, Object)), ByRef error As String) As String
Type Parameters
- T
Parameters
- expression
- Expression<Func<T,Object>>
The expression to search
- error
- String
Message about what's wrong with the expression if return value is null
Returns
A comma-separated list of strings or null