ExtensionHandle<TInterfaceType> Class
Contains the extension type and the named configuration for this extension type.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.Extensibility.ExtensionHandle
Microsoft.Data.Schema.Extensibility.ExtensionHandle<TInterfaceType>
Namespace: Microsoft.Data.Schema.Extensibility
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public NotInheritable Class ExtensionHandle(Of TInterfaceType As {Class, IExtension}) _
Inherits ExtensionHandle
public sealed class ExtensionHandle<TInterfaceType> : ExtensionHandle
where TInterfaceType : class, IExtension
generic<typename TInterfaceType>
where TInterfaceType : ref class, IExtension
public ref class ExtensionHandle sealed : public ExtensionHandle
[<Sealed>]
type ExtensionHandle<'TInterfaceType when 'TInterfaceType : not struct and IExtension> =
class
inherit ExtensionHandle
end
JScript does not support generic types or methods.
Type Parameters
- TInterfaceType
The ExtensionHandle<TInterfaceType> type exposes the following members.
Properties
Name | Description | |
---|---|---|
Description | Gets or sets the description of this extension. (Inherited from ExtensionHandle.) | |
ExtensionManager | Gets or sets a reference to the ExtensionManager. (Inherited from ExtensionHandle.) | |
ExtensionType | Gets the extension type. (Inherited from ExtensionHandle.) | |
ExtensionTypeFriendlyName | Gets the friendly name of the extension type. (Inherited from ExtensionHandle.) | |
FriendlyName | Gets the friendly name of this extension handle. (Inherited from ExtensionHandle.) | |
Publisher | Gets or sets the name of the publisher of this extension. (Inherited from ExtensionHandle.) |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether two objects are equal. (Inherited from ExtensionHandle.) | |
Equals(ExtensionHandle) | Determines whether two ExtensionHandle objects are equal. If the ExtensionType is the same, the objects are equal. (Inherited from ExtensionHandle.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Gets the hash code for this ExtensionHandle based on the ExtensionType. (Inherited from ExtensionHandle.) | |
GetSchema | Gets the schema for the XML serialization of this extension. (Inherited from ExtensionHandle.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Instantiate | Instantiates an ExtensionHandle. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReadXml | Deserializes an extension that returns the assembly name and type name. (Inherited from ExtensionHandle.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WriteXml | Serializes this extension handle. The assembly full name and the full type name are included in the serialization. (Inherited from ExtensionHandle.) |
Top
Remarks
Gets the ExtensionHandler from ExtensionManager. It is possible to instantiate the extension type from this handle.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.