Share via


OAProjectItems Class

This class and its members are reserved for internal use and are not intended to be used in your code. This class has a full 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
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(True)> _
Public Class OAProjectItems _
    Inherits OANavigableProjectItems
'Usage
Dim instance As OAProjectItems
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public class OAProjectItems : OANavigableProjectItems
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public ref class OAProjectItems : public OANavigableProjectItems
[<CLSCompliantAttribute(false)>]
[<ComVisibleAttribute(true)>]
type OAProjectItems =  
    class
        inherit OANavigableProjectItems
    end
public class OAProjectItems extends OANavigableProjectItems

The OAProjectItems type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method AddFolder Adds a folder to the collection of ProjectItems with the given name. The kind must be null, empty string, or the string value of vsProjectItemKindPhysicalFolder. Virtual folders are not supported by this implementation. (Overrides OANavigableProjectItems..::..AddFolder(String, String).)
Public method AddFromDirectory Adds one or more ProjectItem objects from a directory to the ProjectItems collection. (Inherited from OANavigableProjectItems.)
Public method AddFromFile Adds a project item from a file that is installed in a project directory structure. (Overrides OANavigableProjectItems..::..AddFromFile(String).)
Public method AddFromFileCopy Copies a source file and adds it to the project. (Overrides OANavigableProjectItems..::..AddFromFileCopy(String).)
Public method AddFromTemplate Creates a new project item from an existing item template file and adds it to the project. (Overrides OANavigableProjectItems..::..AddFromTemplate(String, String).)
Protected method AddItem Adds an item to the project.
Public method Equals (Inherited from Object.)
Protected method EvaluateAddResult Evaluates the result of an add operation.
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumeration for items in a collection. (Inherited from OANavigableProjectItems.)
Public method GetHashCode (Inherited from Object.)
Protected method GetListOfProjectItems Retrives a list of items associated with the current node. (Inherited from OANavigableProjectItems.)
Public method GetType (Inherited from Object.)
Public method Item Get Project Item from index (Inherited from OANavigableProjectItems.)
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