Läs på engelska

Dela via


FieldIdentifier Struct

Definition

Uniquely identifies a single field that can be edited. This may correspond to a property on a model object, or can be any other named value.

C#
public readonly struct FieldIdentifier : IEquatable<Microsoft.AspNetCore.Components.Forms.FieldIdentifier>
Inheritance
FieldIdentifier
Implements

Constructors

FieldIdentifier(Object, String)

Initializes a new instance of the FieldIdentifier structure.

Properties

FieldName

Gets the name of the editable field.

Model

Gets the object that owns the editable field.

Methods

Create<TField>(Expression<Func<TField>>)

Initializes a new instance of the FieldIdentifier structure.

Equals(FieldIdentifier)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

Applies to

Produkt Versioner
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0