SoapExtensionAttribute.ExtensionType 속성

정의

파생 클래스에서 재정의된 경우 SOAP 확장의 Type을 가져옵니다.

public:
 abstract property Type ^ ExtensionType { Type ^ get(); };
public abstract Type ExtensionType { get; }
member this.ExtensionType : Type
Public MustOverride ReadOnly Property ExtensionType As Type

속성 값

SOAP확장의 Type입니다.

예제

다음 코드 예제는 일반적인 구현은 ExtensionType 속성입니다.

// Return the type of TraceExtension.
property Type^ ExtensionType 
{
   Type^ get()
   {
      return typeid<TraceExtension^>;
   }
}
// Return the type of TraceExtension.
public override Type ExtensionType
{
   get
   {
      return typeof(TraceExtension);
   }
}
' Return the type of TraceExtension.
 Public Overrides ReadOnly Property ExtensionType() As Type
     Get
         Return GetType(TraceExtension)
     End Get
 End Property

설명

파생된 클래스에서 재정의 해야 합니다는 ExtensionType SOAP 확장의 형식을 반환 하는 속성입니다.

적용 대상