OAReferences Members

Include Protected Members
Include Inherited Members

This type is only used internally; you cannot use it directly from your code. Represents the automation equivalent of ReferenceContainerNode. It implements References, ReferencesEvents, IEventSource, and CollectionPointContainer.

The OAReferences type exposes the following members.

Methods

  Name Description
Public method Add Adds a reference to this container.
Public method AddActiveX Adds a COM component as a reference.
Public method AddProject Adds a project reference.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method Find Finds a reference of the specified ID.
Public method GetEnumerator Gets a default enumerator for the references.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Item Gets the reference at the specified index.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property ContainingProject Gets the project to which this reference container belongs.
Public property Count Gets the number of references in the container.
Public property DTE Gets the top-level automation object.
Public property Parent Gets the parent object of the corresponding ReferenceContainerNode.

Top

Events

  Name Description
Public event ReferenceAdded Raised when a reference is added to this container.
Public event ReferenceChanged Raised when a reference in this container is modified.
Public event ReferenceRemoved Raised when a reference is removed from this container.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IConnectionPointContainer.EnumConnectionPoints (Inherited from ConnectionPointContainer.)
Explicit interface implemetationPrivate method IConnectionPointContainer.FindConnectionPoint (Inherited from ConnectionPointContainer.)

Top

See Also

Reference

OAReferences Class

Microsoft.VisualStudio.Data.Schema.Project.Automation Namespace