Bearbeiten

Freigeben über


VirtualDirectoryMappingCollection.Item[] Property

Definition

Gets or sets the VirtualDirectoryMapping object.

Overloads

Item[Int32]

Gets or sets the VirtualDirectoryMapping object at the specified index location.

Item[String]

Gets or sets the VirtualDirectoryMapping object based on the specified virtual directory name.

Item[Int32]

Gets or sets the VirtualDirectoryMapping object at the specified index location.

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

Parameters

index
Int32

An integer value that specifies a particular VirtualDirectoryMapping object within the VirtualDirectoryMappingCollection.

Property Value

A VirtualDirectoryMapping object.

Applies to

Item[String]

Gets or sets the VirtualDirectoryMapping object based on the specified virtual directory name.

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

Parameters

virtualDirectory
String

A string that contains the name of the VirtualDirectoryMapping object.

Property Value

A VirtualDirectoryMapping object.

Applies to