IVSMDDesignerService.CreateDesignerForClass Method
Creates a designer based on the designer of the given component class.
Namespace: Microsoft.VisualStudio.Designer.Interfaces
Assembly: Microsoft.VisualStudio.Designer.Interfaces (in Microsoft.VisualStudio.Designer.Interfaces.dll)
Syntax
'Declaração
Function CreateDesignerForClass ( _
pSp As Object, _
pwszComponentClass As String _
) As IVSMDDesigner
IVSMDDesigner CreateDesignerForClass(
Object pSp,
string pwszComponentClass
)
Parameters
- pSp
Type: System.Object
The IServiceProvider.
- pwszComponentClass
Type: System.String
The fully-qualified name of the class.
Return Value
Type: Microsoft.VisualStudio.Designer.Interfaces.IVSMDDesigner
The new IVSMDDesigner.
Remarks
The designer will provide a UI only and will not have any persistence mechanism.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.