ComPersistableTypeElement.ID 属性

定义

获取或设置持久类型的唯一标识符。

public:
 property System::String ^ ID { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("ID", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)]
[System.Configuration.StringValidator(MinLength=1)]
public string ID { get; set; }
[<System.Configuration.ConfigurationProperty("ID", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.ID : string with get, set
Public Property ID As String

属性值

String

持久类型的唯一标识符。

属性

适用于