This documentation is archived and is not being maintained.

IDesignerHost.GetDesigner Method

Gets the designer instance that contains the specified component.

[Visual Basic]
Function GetDesigner( _
   ByVal component As IComponent _
) As IDesigner
[C#]
IDesigner GetDesigner(
   IComponent component
);
[C++]
IDesigner* GetDesigner(
   IComponent* component
);
[JScript]
function GetDesigner(
   component : IComponent
) : IDesigner;

Parameters

component
The IComponent to retrieve the designer for.

Return Value

An IDesigner, or a null reference (Nothing in Visual Basic) if there is no designer for the specified component.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IDesignerHost Interface | IDesignerHost Members | System.ComponentModel.Design Namespace

Show: