ObjectListField.Name 屬性

定義

取得或設定指定之物件的名稱。 預設值為空字串 ("")。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

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

屬性值

物件清單欄位的名稱。

備註

您可以使用 NameDataField 屬性,透過 IndexOf 方法在其父集合中尋找個別欄位。

注意

方法 IndexOf 會傳回第一個相符的字段,因此,請務必使用唯一的功能變數名稱。

適用於

另請參閱