Compartir a través de


DesignSurfaceExtensionAttribute(Type) Constructor

Definition

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.

Applies to