다음을 통해 공유


TransformerInfo.Type 속성

정의

클래스를 확장하는 WebPartTransformer 클래스의 형식 참조를 가져오거나 설정합니다.

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

속성 값

클래스를 확장하는 클래스에 대한 형식 참조입니다 WebPartTransformer .

특성

예제

다음 코드 예제에서는 속성을 사용 하는 방법을 보여 있습니다 Type . 이 코드 예제는 형식에 대해 제공되는 더 큰 예제의 WebPartsSection 일부입니다.

설명

구성 시스템은 유효한 형식 이름이 사용되는지 확인하기 위해 지정된 형식의 유효성을 검사하지 않습니다. 그러나 잘못된 형식으로 인해 웹 페이지가 로드될 때 예외가 발생합니다.

적용 대상

추가 정보