Condividi tramite


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

'Dichiarazione
Function CreateDesignerForClass ( _
    pSp As Object, _
    pwszComponentClass As String _
) As IVSMDDesigner
'Utilizzo
Dim instance As IVSMDDesignerService
Dim pSp As Object
Dim pwszComponentClass As String
Dim returnValue As IVSMDDesigner

returnValue = instance.CreateDesignerForClass(pSp, _
    pwszComponentClass)
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: 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

See Also

Reference

IVSMDDesignerService Interface

IVSMDDesignerService Members

Microsoft.VisualStudio.Designer.Interfaces Namespace