Editar

Compartilhar via


ServiceNameElementCollection.Item[] Property

Definition

The Item[] property gets or sets the ServiceNameElement instance.

Overloads

Item[Int32]

The Item[String] property gets or sets the ServiceNameElement instance at the specified index location.

Item[String]

The Item[String] property gets or sets the ServiceNameElement instance based on a string that represents the ServiceNameElement instance.

Item[Int32]

The Item[String] property gets or sets the ServiceNameElement instance at the specified index location.

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

Parameters

index
Int32

The index of the ServiceNameElement instance in this ServiceNameElementCollection.

Property Value

The ServiceNameElement instance requested. If the requested instance is not found, then null is returned.

Applies to

Item[String]

The Item[String] property gets or sets the ServiceNameElement instance based on a string that represents the ServiceNameElement instance.

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

Parameters

name
String

A String that represents the ServiceNameElement instance in this ServiceNameElementCollection.

Property Value

The ServiceNameElement instance requested. If the requested instance is not found, then null is returned.

Applies to