語言

ClientTargetCollection.Item[] 屬性

定義

從收藏中拿到一筆 ClientTarget 。

多載

名稱 Description
Item[Int32]

取得 ClientTarget 指定索引的物件。

Item[String]

取得 ClientTarget 指定名稱的物件。

Item[Int32]

取得 ClientTarget 指定索引的物件。

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

參數

index
Int32

物件的集合索引。

屬性值

指定索引的 ClientTarget 物件。

適用於

Item[String]

取得 ClientTarget 指定名稱的物件。

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

參數

name
String

使用者代理的名字。

屬性值

就是 ClientTarget 指定名稱的物件。

適用於