XmlSchemaAnnotated.Id 屬性

定義

取得或設定字串 ID。

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

屬性值

字串識別碼。預設值為 String.Empty 。 選擇性。

備註

識別碼值的類型必須是 ID ,而且在包含這個專案的檔內是唯一的。

選擇性。

適用於