IReferenceService::GetName Method (Object^)

 

Gets the name of the specified component.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

String^ GetName(
	Object^ reference
)

Parameters

reference
Type: System::Object^

The object to return the name of.

Return Value

Type: System::String^

The name of the object referenced, or null if the object reference is not valid.

The name of each component sited in a design time project is set in the Name property of the ISite where the component is sited.

.NET Framework
Available since 1.1
Return to top
Show: