ClientTargetCollection.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.