Share via


FieldIdentifier.Create<TField> 方法

定義

初始化 FieldIdentifier 結構的新執行個體。

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

類型參數

TField

欄位 Type

參數

accessor
Expression<Func<TField>>

識別物件成員的運算式。

傳回

適用於