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

屬性值

字串 ID。預設為 String.Empty。 Optional.

備註

ID 值必須是型別 ID ,且在包含此元素的文件中是唯一的。

Optional.

適用於