Provides an interface for obtaining references to objects within a project by name or type, obtaining the name of a specified object, and for locating the parent of a specified object within a designer project.
See Also: IReferenceService Members
The System.ComponentModel.Design.IReferenceService interface provides the following methods:
The IReferenceService.GetReference(string) method returns the component with the specified name, or null if no component with the specified name was found.
The IReferenceService.GetName(object) method returns the name associated with the specified component.
The IReferenceService.GetComponent(object) method returns the parent container of the specified component.
The IReferenceService.GetReferences method returns an array of references to all project components, or all project components of an optionally specified type.