ResXDataNode.Name 屬性

定義

取得或設定這個資源的名稱。Gets or sets the name of this resource.

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

屬性值

String

對應到資源名稱的字串。A string that corresponds to the resource name. 如果未指定名稱,則這個屬性會傳回零長度的字串。If no name is assigned, this property returns a zero-length string.

例外狀況

名稱屬性設為 nullThe name property is set to null.

名稱屬性設定為零長度字串。The name property is set to a string of zero length.

適用於