共用方式為


VirtualDirectoryMappingCollection.Item[] 屬性

定義

取得或設定 VirtualDirectoryMapping 物件。

多載

Item[Int32]

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

Item[String]

根據指定的虛擬目錄名稱,取得或設定 VirtualDirectoryMapping 物件。

Item[Int32]

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

public:
 property System::Web::Configuration::VirtualDirectoryMapping ^ default[int] { System::Web::Configuration::VirtualDirectoryMapping ^ get(int index); };
public System.Web.Configuration.VirtualDirectoryMapping this[int index] { get; }
member this.Item(int) : System.Web.Configuration.VirtualDirectoryMapping
Default Public ReadOnly Property Item(index As Integer) As VirtualDirectoryMapping

參數

index
Int32

指定 VirtualDirectoryMapping 內特定 VirtualDirectoryMappingCollection 物件的整數值。

屬性值

VirtualDirectoryMapping

VirtualDirectoryMapping 物件。

適用於

Item[String]

根據指定的虛擬目錄名稱,取得或設定 VirtualDirectoryMapping 物件。

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

參數

virtualDirectory
String

包含 VirtualDirectoryMapping 物件名稱的字串。

屬性值

VirtualDirectoryMapping

VirtualDirectoryMapping 物件。

適用於