SrgsNameValueTag.Name 属性

定义

获取或设置 SrgsNameValueTag 实例的名称。Gets or sets the name of the SrgsNameValueTag instance.

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

包含 SrgsNameValueTag 实例名称的字符串。A string that contains the name of the SrgsNameValueTag instance.

例外

尝试将 Name 设置为 nullAn attempt is made to set Name to null.

试图将 Name 设置为空字符串。An attempt is made to set Name to an empty string.

适用于