Share via


OAReferenceItem Class

This class and its members are reserved for internal use and are not intended to be used in your code.

This API is not CLS-compliant. 

Inheritance Hierarchy

System..::..Object
  Microsoft.VisualStudio.Data.Tools.Package.Internal..::..OAProjectItem
    Microsoft.VisualStudio.Data.Tools.Package.Internal..::..OAReferenceItem

Namespace:  Microsoft.VisualStudio.Data.Tools.Package.Internal
Assembly:  Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<CLSCompliantAttribute(False)> _
Public Class OAReferenceItem _
    Inherits OAProjectItem
'Usage
Dim instance As OAReferenceItem
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public class OAReferenceItem : OAProjectItem
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public ref class OAReferenceItem : public OAProjectItem
[<ComVisibleAttribute(true)>]
[<CLSCompliantAttribute(false)>]
type OAReferenceItem =  
    class
        inherit OAProjectItem
    end
public class OAReferenceItem extends OAProjectItem

The OAReferenceItem type exposes the following members.

Properties

  Name Description
Public property Collection Gets the ProjectItems collection containing the ProjectItem object supporting this property. (Overrides OAProjectItem..::..Collection.)
Public property ConfigurationManager Gets the ConfigurationManager object for this ProjectItem. (Inherited from OAProjectItem.)
Public property ContainingProject Gets the project hosting the ProjectItem. (Inherited from OAProjectItem.)
Public property Document Gets the Document associated with the item, if one exists. (Inherited from OAProjectItem.)
Public property DTE Gets the top-level extensibility object. (Inherited from OAProjectItem.)
Public property ExtenderCATID Gets the Extender category ID (CATID) for the object. (Inherited from OAProjectItem.)
Public property ExtenderNames Gets a list of available Extenders for the object. (Inherited from OAProjectItem.)
Public property FileCodeModel Gets the FileCodeModel object for the project item. (Inherited from OAProjectItem.)
Public property FileCount Gets the number of files associated with a ProjectItem. (Inherited from OAProjectItem.)
Public property IsDirty Microsoft Internal Use Only. Checks if the document associated to this item is dirty. (Inherited from OAProjectItem.)
Public property Kind Gets a GUID string indicating the kind or type of the object. (Inherited from OAProjectItem.)
Public property Name Gets or sets the name of the object. (Overrides OAProjectItem..::..Name.)
Public property Object Gets an object that can be accessed by name at run time. (Inherited from OAProjectItem.)
Protected property Project Returns the automation project (Inherited from OAProjectItem.)
Public property ProjectItems Gets a ProjectItems for the object. (Inherited from OAProjectItem.)
Public property Properties Gets a collection of all properties that pertain to the object. (Inherited from OAProjectItem.)
Public property Saved Gets or sets a value indicating whether or not the object has been modified since last being saved or opened. (Inherited from OAProjectItem.)
Public property SubProject If the project item is the root of a subproject, then the SubProject property returns the Project object for the subproject. (Inherited from OAProjectItem.)

Top

Methods

  Name Description
Public method Delete Not implemented. If called throws invalid operation exception. (Overrides OAProjectItem..::..Delete() () () ().)
Public method Equals (Inherited from Object.)
Public method ExpandView Expands the view of Solution Explorer to show project items. (Inherited from OAProjectItem.)
Protected method Finalize (Inherited from Object.)
Public method get_Extender Gets the requested Extender if it is available for this object (Inherited from OAProjectItem.)
Public method get_FileNames Gets the full path and names of the files associated with a project item. (Inherited from OAProjectItem.)
Public method get_IsOpen (Inherited from OAProjectItem.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Open Not implemented. If called throws invalid operation exception. (Overrides OAProjectItem..::..Open(String).)
Public method Remove Removes the project item from hierarchy. (Inherited from OAProjectItem.)
Public method Save Saves the project item. (Inherited from OAProjectItem.)
Public method SaveAs Saves the project item. (Inherited from OAProjectItem.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Data.Tools.Package.Internal Namespace