Edit

Share via


ObjectListField.Name Property

Definition

Gets or sets the name of the specified object. The default value is an empty string (""). This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

Property Value

The name of the object list field.

Remarks

You can use either the Name or DataField property to find an individual field within its parent collection by using the IndexOf method.

Note

The IndexOf method returns the first matching field; therefore, it is important that you use unique field names.

Applies to

See also