ProviderSettings.Type 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定此類別所設定的提供者類型。
public:
property System::String ^ Type { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("type", IsRequired=true)]
public string Type { get; set; }
public string Type { get; set; }
[<System.Configuration.ConfigurationProperty("type", IsRequired=true)>]
member this.Type : string with get, set
member this.Type : string with get, set
Public Property Type As String
屬性值
完全限定的命名空間與類別名稱,代表由此 ProviderSettings 實例設定的提供者類型。
- 屬性
範例
以下程式碼範例說明如何存取該 Type 物業。
Console.WriteLine(
"Provider settings type: {0}",
pSettings.Type);
Console.WriteLine( _
"Provider settings type: {0}", _
pSettings.Type)
備註
該 Type 屬性包含由類別配置 ProviderSettings 的提供者的完整限定命名空間與類別名稱。