편집

다음을 통해 공유


ClientTargetCollection.Item[] Property

Definition

Gets a ClientTarget from the collection.

Overloads

Item[Int32]

Gets the ClientTarget object at the specified index.

Item[String]

Gets the ClientTarget object with the specified name.

Item[Int32]

Gets the ClientTarget object at the specified index.

public:
 property System::Web::Configuration::ClientTarget ^ default[int] { System::Web::Configuration::ClientTarget ^ get(int index); void set(int index, System::Web::Configuration::ClientTarget ^ value); };
public System.Web.Configuration.ClientTarget this[int index] { get; set; }
member this.Item(int) : System.Web.Configuration.ClientTarget with get, set
Default Public Property Item(index As Integer) As ClientTarget

Parameters

index
Int32

The collection index of the object.

Property Value

The ClientTarget object at the specified index.

Applies to

Item[String]

Gets the ClientTarget object with the specified name.

public:
 property System::Web::Configuration::ClientTarget ^ default[System::String ^] { System::Web::Configuration::ClientTarget ^ get(System::String ^ name); };
public System.Web.Configuration.ClientTarget this[string name] { get; }
member this.Item(string) : System.Web.Configuration.ClientTarget
Default Public ReadOnly Property Item(name As String) As ClientTarget

Parameters

name
String

The user agent's name.

Property Value

The ClientTarget object with the specified name.

Applies to