Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- pSp 
 Type: Object- The IServiceProvider. 
- 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
- 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.