VirtualDirectoryMappingCollection.Get VirtualDirectoryMappingCollection.Get VirtualDirectoryMappingCollection.Get VirtualDirectoryMappingCollection.Get Method

Definition

Gets the specified VirtualDirectoryMapping collection element.

Overloads

Get(Int32) Get(Int32) Get(Int32) Get(Int32)

Gets the specified VirtualDirectoryMapping collection element at the specified index.

Get(String) Get(String) Get(String) Get(String)

Gets the VirtualDirectoryMapping collection element based on the specified virtual-directory name.

Get(Int32) Get(Int32) Get(Int32) Get(Int32)

Gets the specified VirtualDirectoryMapping collection element at the specified index.

public:
 System::Web::Configuration::VirtualDirectoryMapping ^ Get(int index);
public System.Web.Configuration.VirtualDirectoryMapping Get (int index);
member this.Get : int -> System.Web.Configuration.VirtualDirectoryMapping
Public Function Get (index As Integer) As VirtualDirectoryMapping

Parameters

index
Int32 Int32 Int32 Int32

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

Returns

Get(String) Get(String) Get(String) Get(String)

Gets the VirtualDirectoryMapping collection element based on the specified virtual-directory name.

public:
 System::Web::Configuration::VirtualDirectoryMapping ^ Get(System::String ^ virtualDirectory);
public System.Web.Configuration.VirtualDirectoryMapping Get (string virtualDirectory);
member this.Get : string -> System.Web.Configuration.VirtualDirectoryMapping
Public Function Get (virtualDirectory As String) As VirtualDirectoryMapping

Parameters

virtualDirectory
String String String String

A string that contains the name of the VirtualDirectoryMapping object.

Returns

Applies to