SoapExtensionAttribute.ExtensionType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets the Type of the SOAP extension.
public:
abstract property Type ^ ExtensionType { Type ^ get(); };
public abstract Type ExtensionType { get; }
member this.ExtensionType : Type
Public MustOverride ReadOnly Property ExtensionType As Type
Property Value
The Type of the SOAP extension.
Examples
The following code example is a typical implementation of the ExtensionType property.
// 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
Remarks
Derived classes must override the ExtensionType property to return the type of the SOAP extension.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.