ExtensionHandle Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Contains the extension type 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
<CLSCompliantAttribute(True)> _
Public Class ExtensionHandle _
    Implements IEquatable(Of ExtensionHandle), IXmlSerializable
[CLSCompliantAttribute(true)]
public class ExtensionHandle : IEquatable<ExtensionHandle>, 
    IXmlSerializable
[CLSCompliantAttribute(true)]
public ref class ExtensionHandle : IEquatable<ExtensionHandle^>, 
    IXmlSerializable
[<CLSCompliantAttribute(true)>]
type ExtensionHandle =  
    class
        interface IEquatable<ExtensionHandle>
        interface IXmlSerializable
    end
public class ExtensionHandle implements IEquatable<ExtensionHandle>, IXmlSerializable

The ExtensionHandle type exposes the following members.

Constructors

  Name Description
Protected method ExtensionHandle Initializes a new instance of the ExtensionHandle class.

Top

Properties

  Name Description
Public property Description Gets or sets the description of this extension.
Public property ExtensionManager Gets or sets a reference to the ExtensionManager.
Public property ExtensionType Gets the extension type.
Public property ExtensionTypeFriendlyName Gets the friendly name of the extension type.
Public property FriendlyName Gets the friendly name of this extension handle.
Public property Publisher Gets or sets the name of the publisher of this extension.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether two objects are equal. (Overrides Object.Equals(Object).)
Public method Equals(ExtensionHandle) Determines whether two ExtensionHandle objects are equal. If the ExtensionType is the same, the objects are equal.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Gets the hash code for this ExtensionHandle based on the ExtensionType. (Overrides Object.GetHashCode().)
Public method GetSchema Gets the schema for the XML serialization of this extension.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReadXml Deserializes an extension that returns the assembly name and type name.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WriteXml Serializes this extension handle. The assembly full name and the full type name are included in the serialization.

Top

Remarks

Use the ExtensionManager instance to obtain a valid ExtensionHandle.

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.

See Also

Reference

Microsoft.Data.Schema.Extensibility Namespace

ExtensionHandle