ServiceNameElementCollection.Item[] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
屬性取得 Item[] 或設定實 ServiceNameElement 例。
多載
| 名稱 | Description |
|---|---|
| Item[Int32] |
屬性 Item[String] 會取得或設定 ServiceNameElement 實例在指定的索引位置。 |
| Item[String] |
屬性是Item[String]根據代表實ServiceNameElement例的字串來取得或設定該ServiceNameElement實例。 |
Item[Int32]
屬性 Item[String] 會取得或設定 ServiceNameElement 實例在指定的索引位置。
public:
property System::Security::Authentication::ExtendedProtection::Configuration::ServiceNameElement ^ default[int] { System::Security::Authentication::ExtendedProtection::Configuration::ServiceNameElement ^ get(int index); void set(int index, System::Security::Authentication::ExtendedProtection::Configuration::ServiceNameElement ^ value); };
public System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement this[int index] { get; set; }
member this.Item(int) : System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement with get, set
Default Public Property Item(index As Integer) As ServiceNameElement
參數
- index
- Int32
屬性值
實 ServiceNameElement 例請求。 若未找到請求實例,則 null 會回傳。
適用於
Item[String]
屬性是Item[String]根據代表實ServiceNameElement例的字串來取得或設定該ServiceNameElement實例。
public:
property System::Security::Authentication::ExtendedProtection::Configuration::ServiceNameElement ^ default[System::String ^] { System::Security::Authentication::ExtendedProtection::Configuration::ServiceNameElement ^ get(System::String ^ name); void set(System::String ^ name, System::Security::Authentication::ExtendedProtection::Configuration::ServiceNameElement ^ value); };
public System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement this[string name] { get; set; }
member this.Item(string) : System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement with get, set
Default Public Property Item(name As String) As ServiceNameElement
參數
- name
- String
String A 代表ServiceNameElement此 ServiceNameElementCollection中的實例。
屬性值
實 ServiceNameElement 例請求。 若未找到請求實例,則 null 會回傳。