語言

UrlMappingCollection.Item[] 屬性

定義

在集合中獲得或設定 a UrlMapping 。

多載

名稱 Description
Item[Int32]

取得或設定 UrlMapping 物件在指定的索引位置。

Item[String]

取得 UrlMapping 指定名稱的物件。

Item[Int32]

取得或設定 UrlMapping 物件在指定的索引位置。

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

參數

index
Int32

要取得的物件的索引。

屬性值

指定索引的物件。

適用於

Item[String]

取得 UrlMapping 指定名稱的物件。

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

參數

name
String

集合物件的名稱。

屬性值

擁有指定名稱的集合物件。

適用於