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
- 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.