Share via


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

プロパティ値

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

注釈

派生クラスは、SOAP 拡張機能の型を ExtensionType 返すプロパティをオーバーライドする必要があります。

適用対象