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,它表示此 ServiceNameElement 中的 ServiceNameElementCollection 实例。

属性值

ServiceNameElement

所请求的 ServiceNameElement 实例。 如果未找到请求的实例,则返回 null

适用于