UrlMappingsSection.UrlMappings 속성

정의

개체의 UrlMapping 컬렉션을 가져옵니다.

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

속성 값

개체를 포함하는 A UrlMappingCollection 입니다 UrlMapping .

특성

예제

다음 코드 예제에서는 섹션을 가져오는 urlMappings 방법을 보여줍니다.


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

설명

UrlMapping 개체에는 URL을 식별하는 두 가지 속성이 포함됩니다. 하나의 속성은 사용자에게 표시되는 URL을 지정합니다. 다른 하나는 웹 애플리케이션에서 URL을 지정합니다.

적용 대상