IReferenceService.GetReference(String) Method

Definition

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

public:
 System::Object ^ GetReference(System::String ^ name);
public object GetReference (string name);
public object? GetReference (string name);
abstract member GetReference : string -> obj
Public Function GetReference (name As String) As Object

Parameters

name
String

The name of the component to return a reference to.

Returns

An object the specified name refers to, or null if no reference is found.

Applies to