Export (0) Print
Expand All

IReferenceService.GetReference Method

Gets a reference to the component whose name matches the specified name.

[Visual Basic]
Function GetReference( _
   ByVal name As String _
) As Object
[C#]
object GetReference(
   string name
);
[C++]
Object* GetReference(
   String* name
);
[JScript]
function GetReference(
   name : String
) : Object;

Parameters

name
The name of the component to return a reference to.

Return Value

An object the specified name refers to, or a null reference (Nothing in Visual Basic) if no reference is found.

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

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

Show:
© 2015 Microsoft