TagMapInfo.TagType 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
다시 매핑되고 있는 태그의 원본 형식 이름을 가져오거나 설정합니다.
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
속성 값
다시 매핑되고 있는 태그의 원본 형식 이름입니다.
- 특성
예제
다음 코드 예제에서는 TagType 속성을 사용하는 방법을 보여 줍니다. 이 코드 예제는에 대해 제공 된 큰 예제의 일부는 PagesSection 클래스입니다.
설명
태그를 다시 매핑하는 컴파일 시간에 발생합니다. 이렇게 다시 매핑하면 매핑된 형식을 (지정 된를 MappedTagType 속성) 원래 태그 형식 대신 사용할 (지정 된는 TagType 속성) 모든 페이지 및 ASP.NET 애플리케이션 구성 파일의 범위에는 컨트롤에 대 한 합니다.
참고
빈 문자열 값이이 속성에 대 한 구성 시스템 개체를 serialize 할 때 예외를 throw 하도록 하면 됩니다.