다음을 통해 공유


TagMapInfo.TagType 속성

정의

다시 매핑되고 있는 태그의 원본 형식 이름을 가져오거나 설정합니다.

public:
 property System::String ^ TagType { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("tagType", DefaultValue="", IsKey=true, IsRequired=true)]
[System.Configuration.StringValidator(MinLength=1)]
public string TagType { get; set; }
[<System.Configuration.ConfigurationProperty("tagType", DefaultValue="", IsKey=true, IsRequired=true)>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.TagType : string with get, set
Public Property TagType As String

속성 값

String

다시 매핑되고 있는 태그의 원본 형식 이름입니다.

특성

예제

다음 코드 예제에서는 TagType 속성을 사용하는 방법을 보여 줍니다. 이 코드 예제는에 대해 제공 된 큰 예제의 일부는 PagesSection 클래스입니다.

설명

태그를 다시 매핑하는 컴파일 시간에 발생합니다. 이렇게 다시 매핑하면 매핑된 형식을 (지정 된를 MappedTagType 속성) 원래 태그 형식 대신 사용할 (지정 된는 TagType 속성) 모든 페이지 및 ASP.NET 애플리케이션 구성 파일의 범위에는 컨트롤에 대 한 합니다.

참고

빈 문자열 값이이 속성에 대 한 구성 시스템 개체를 serialize 할 때 예외를 throw 하도록 하면 됩니다.

적용 대상

추가 정보