共用方式為


ServiceNameElementCollection.Item[] 屬性

定義

Item[] 屬性會取得或設定 ServiceNameElement 執行個體。

多載

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:
 property System::Security::Authentication::ExtendedProtection::Configuration::ServiceNameElement ^ default[int] { System::Security::Authentication::ExtendedProtection::Configuration::ServiceNameElement ^ get(int index); };
public System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement this[int index] { get; set; }
public System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement this[int index] { get; }
member this.Item(int) : System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement with get, set
member this.Item(int) : System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement
Default Public Property Item(index As Integer) As ServiceNameElement
Default Public ReadOnly Property Item(index As Integer) As ServiceNameElement

參數

index
Int32

位在這個 ServiceNameElement 中的 ServiceNameElementCollection 執行個體之索引。

屬性值

ServiceNameElement

要求的 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:
 property System::Security::Authentication::ExtendedProtection::Configuration::ServiceNameElement ^ default[System::String ^] { System::Security::Authentication::ExtendedProtection::Configuration::ServiceNameElement ^ get(System::String ^ name); };
public System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement this[string name] { get; set; }
public System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement this[string name] { get; }
member this.Item(string) : System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement with get, set
member this.Item(string) : System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement
Default Public Property Item(name As String) As ServiceNameElement
Default Public ReadOnly Property Item(name As String) As ServiceNameElement

參數

name
String

String,代表這個 ServiceNameElementServiceNameElementCollection 執行個體。

屬性值

ServiceNameElement

要求的 ServiceNameElement 執行個體。 如果找不到要求的執行個體,則會傳回 null

適用於