Share via


FieldIdentifier.Create<TField> Method

Definition

Initializes a new instance of the FieldIdentifier structure.

public:
generic <typename TField>
 static Microsoft::AspNetCore::Components::Forms::FieldIdentifier Create(System::Linq::Expressions::Expression<Func<TField> ^> ^ accessor);
public static Microsoft.AspNetCore.Components.Forms.FieldIdentifier Create<TField> (System.Linq.Expressions.Expression<Func<TField>> accessor);
static member Create : System.Linq.Expressions.Expression<Func<'Field>> -> Microsoft.AspNetCore.Components.Forms.FieldIdentifier
Public Shared Function Create(Of TField) (accessor As Expression(Of Func(Of TField))) As FieldIdentifier

Type Parameters

TField

The field Type.

Parameters

accessor
Expression<Func<TField>>

An expression that identifies an object member.

Returns

Applies to