IReferenceService.GetName Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: