Share via


OANavigableProjectItems Class

This class and its members are reserved for internal use and are not intended to be used in your code. This can navigate a collection object only (partial implementation of ProjectItems interface)

This API is not CLS-compliant. 

Inheritance Hierarchy

System..::..Object
  Microsoft.VisualStudio.Data.Tools.Package.Internal..::..OANavigableProjectItems
    Microsoft.VisualStudio.Data.Tools.Package.Internal..::..OAProjectItems

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 OANavigableProjectItems _
    Implements ProjectItems, IEnumerable
'Usage
Dim instance As OANavigableProjectItems
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public class OANavigableProjectItems : ProjectItems, 
    IEnumerable
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public ref class OANavigableProjectItems : ProjectItems, 
    IEnumerable
[<ComVisibleAttribute(true)>]
[<CLSCompliantAttribute(false)>]
type OANavigableProjectItems =  
    class
        interface ProjectItems
        interface IEnumerable
    end
public class OANavigableProjectItems implements ProjectItems, IEnumerable

The OANavigableProjectItems type exposes the following members.

Properties

  Name Description
Public property ContainingProject Gets the project hosting the project item or items.
Public property Count Gets a value indicating the number of objects in the collection.
Public property DTE Gets the top-level extensibility object.
Public property Kind Gets an enumeration indicating the type of object.
Public property Parent Gets the immediate parent object of a ProjectItems collection.

Top

Methods

  Name Description
Public method AddFolder Creates a new folder in Solution Explorer.
Public method AddFromDirectory Adds one or more ProjectItem objects from a directory to the ProjectItems collection.
Public method AddFromFile Adds a project item from a file that is installed in a project directory structure.
Public method AddFromFileCopy Copies a source file and adds it to the project.
Public method AddFromTemplate Creates a new project item from an existing item template file and adds it to the project.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumeration for items in a collection.
Public method GetHashCode (Inherited from Object.)
Protected method GetListOfProjectItems Retrives a list of items associated with the current node.
Public method GetType (Inherited from Object.)
Public method Item Get Project Item from index
Protected method MemberwiseClone (Inherited from Object.)
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