VirtualDirectoryMappingCollection.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 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.