Share via


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

'Declaration
Function CreateDesignerForClass ( _
    pSp As Object, _
    pwszComponentClass As String _
) As IVSMDDesigner
IVSMDDesigner CreateDesignerForClass(
    Object pSp,
    string pwszComponentClass
)
IVSMDDesigner^ CreateDesignerForClass(
    [InAttribute] Object^ pSp, 
    [InAttribute] String^ pwszComponentClass
)
abstract CreateDesignerForClass : 
        pSp:Object * 
        pwszComponentClass:string -> IVSMDDesigner
function CreateDesignerForClass(
    pSp : Object, 
    pwszComponentClass : String
) : IVSMDDesigner

Parameters

  • pwszComponentClass
    Type: 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

See Also

Reference

IVSMDDesignerService Interface

Microsoft.VisualStudio.Designer.Interfaces Namespace