Modifier

Partager via


VirtualDirectoryMappingCollection.Get Method

Definition

Gets the specified VirtualDirectoryMapping collection element.

Overloads

Get(Int32)

Gets the specified VirtualDirectoryMapping collection element at the specified index.

Get(String)

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

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

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

Returns

The VirtualDirectoryMapping element at the specified index.

Applies to

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

A string that contains the name of the VirtualDirectoryMapping object.

Returns

The VirtualDirectoryMapping element based on the specified virtual-directory name.

Applies to