DesignSurfaceExtensionAttribute(Type) Constructor
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.
Creates a new instance of the DesignSurfaceExtensionAttribute class specifying a given object as providing a VSPackage's implementation of DesignSurfaceExtension.
public:
DesignSurfaceExtensionAttribute(Type ^ extensionType);
public:
DesignSurfaceExtensionAttribute(Platform::Type ^ extensionType);
public DesignSurfaceExtensionAttribute (Type extensionType);
new Microsoft.VisualStudio.Shell.Design.DesignSurfaceExtensionAttribute : Type -> Microsoft.VisualStudio.Shell.Design.DesignSurfaceExtensionAttribute
Public Sub New (extensionType As Type)
Parameters
- extensionType
- Type
The Type of the object providing an implementation of DesignSurfaceExtension to customize design surfaces.
Exceptions
extensionType
is null
.
extensionType
does not derive from DesignSurfaceExtension.