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 | |
---|---|---|
ContainingProject | Gets the project hosting the project item or items. (Inherited from OANavigableProjectItems.) | |
Count | Gets a value indicating the number of objects in the collection. (Inherited from OANavigableProjectItems.) | |
DTE | Gets the top-level extensibility object. (Inherited from OANavigableProjectItems.) | |
Kind | Gets an enumeration indicating the type of object. (Inherited from OANavigableProjectItems.) | |
Parent | Gets the immediate parent object of a ProjectItems collection. (Inherited from OANavigableProjectItems.) |
Top
Methods
Name | Description | |
---|---|---|
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).) | |
AddFromDirectory | Adds one or more ProjectItem objects from a directory to the ProjectItems collection. (Inherited from OANavigableProjectItems.) | |
AddFromFile | Adds a project item from a file that is installed in a project directory structure. (Overrides OANavigableProjectItems..::..AddFromFile(String).) | |
AddFromFileCopy | Copies a source file and adds it to the project. (Overrides OANavigableProjectItems..::..AddFromFileCopy(String).) | |
AddFromTemplate | Creates a new project item from an existing item template file and adds it to the project. (Overrides OANavigableProjectItems..::..AddFromTemplate(String, String).) | |
AddItem | Adds an item to the project. | |
Equals | (Inherited from Object.) | |
EvaluateAddResult | Evaluates the result of an add operation. | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Returns an enumeration for items in a collection. (Inherited from OANavigableProjectItems.) | |
GetHashCode | (Inherited from Object.) | |
GetListOfProjectItems | Retrives a list of items associated with the current node. (Inherited from OANavigableProjectItems.) | |
GetType | (Inherited from Object.) | |
Item | Get Project Item from index (Inherited from OANavigableProjectItems.) | |
MemberwiseClone | (Inherited from Object.) | |
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