UrlMappingsSection.UrlMappings Eigenschap

Definitie

Hiermee haalt u een verzameling UrlMapping objecten op.

public:
 property System::Web::Configuration::UrlMappingCollection ^ UrlMappings { System::Web::Configuration::UrlMappingCollection ^ get(); };
[System.Configuration.ConfigurationProperty("", IsDefaultCollection=true)]
public System.Web.Configuration.UrlMappingCollection UrlMappings { get; }
[<System.Configuration.ConfigurationProperty("", IsDefaultCollection=true)>]
member this.UrlMappings : System.Web.Configuration.UrlMappingCollection
Public ReadOnly Property UrlMappings As UrlMappingCollection

Waarde van eigenschap

Een UrlMappingCollection met UrlMapping objecten.

Kenmerken

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u de urlMappings sectie kunt verkrijgen.


// Get the url mapping collection.
UrlMappingCollection urlMappings =
  urlMappingSection.UrlMappings;
' Get the url mapping collection.
Dim urlMappings _
As UrlMappingCollection = _
urlMappingSection.UrlMappings

Opmerkingen

Elk UrlMapping object bevat twee eigenschappen die een URL identificeren. Eén eigenschap geeft de URL aan die aan de gebruiker wordt weergegeven; de andere geeft een URL op in uw webtoepassing.

Van toepassing op