ServiceNameElementCollection.Item[] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
该 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 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此ServiceNameElement实例的实例ServiceNameElementCollection。
属性值
请求的 ServiceNameElement 实例。 如果未找到请求的实例,则 null 返回。