TYPE

FieldIdentifier

Identifies an editable field by its owning object instance and field name. Equal values in different model objects do not make their fields identical. Use the identifier associated with the current EditContext. Requires the ASP.NET Core shared framework or matching reference assemblies.

Formal Syntax & Structure

csharp syntaxcsharp
new FieldIdentifier(model, "Title")

Working Example

Example Snippetcsharp
using System;using System.Linq;using System.Threading;using Microsoft.AspNetCore.Components;using Microsoft.AspNetCore.Components.Forms;using Microsoft.AspNetCore.SignalR;var model=new object(); var field=new FieldIdentifier(model,"Title"); Console.WriteLine(field.FieldName); // Title
C# & .NET Reference