OAProjectItem 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..::..OAFileItem
Microsoft.VisualStudio.Data.Tools.Package.Internal..::..OAFolderItem
Microsoft.VisualStudio.Data.Tools.Package.Internal..::..OAReferenceFolderItem
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
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(True)> _
Public Class OAProjectItem _
Implements ProjectItem
'Usage
Dim instance As OAProjectItem
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public class OAProjectItem : ProjectItem
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public ref class OAProjectItem : ProjectItem
[<CLSCompliantAttribute(false)>]
[<ComVisibleAttribute(true)>]
type OAProjectItem =
class
interface ProjectItem
end
public class OAProjectItem implements ProjectItem
The OAProjectItem type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Collection | Gets the ProjectItems collection containing the ProjectItem object supporting this property. |
![]() |
ConfigurationManager | Gets the ConfigurationManager object for this ProjectItem. |
![]() |
ContainingProject | Gets the project hosting the ProjectItem. |
![]() |
Document | Gets the Document associated with the item, if one exists. |
![]() |
DTE | Gets the top-level extensibility object. |
![]() |
ExtenderCATID | Gets the Extender category ID (CATID) for the object. |
![]() |
ExtenderNames | Gets a list of available Extenders for the object. |
![]() |
FileCodeModel | Gets the FileCodeModel object for the project item. |
![]() |
FileCount | Gets the number of files associated with a ProjectItem. |
![]() |
IsDirty | Microsoft Internal Use Only. Checks if the document associated to this item is dirty. |
![]() |
Kind | Gets a GUID string indicating the kind or type of the object. |
![]() |
Name | Gets or sets the name of the object. |
![]() |
Object | Gets an object that can be accessed by name at run time. |
![]() |
Project | Returns the automation project |
![]() |
ProjectItems | Gets a ProjectItems for the object. |
![]() |
Properties | Gets a collection of all properties that pertain to the object. |
![]() |
Saved | Gets or sets a value indicating whether or not the object has been modified since last being saved or opened. |
![]() |
SubProject | If the project item is the root of a subproject, then the SubProject property returns the Project object for the subproject. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Delete | Removes the item from its project and its storage. |
![]() |
Equals | (Inherited from Object.) |
![]() |
ExpandView | Expands the view of Solution Explorer to show project items. |
![]() |
Finalize | (Inherited from Object.) |
![]() |
get_Extender | Gets the requested Extender if it is available for this object |
![]() |
get_FileNames | Gets the full path and names of the files associated with a project item. |
![]() |
get_IsOpen | |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
Open | Opens the project item in the specified view. Not implemented because this abstract class dont know what to open |
![]() |
Remove | Removes the project item from hierarchy. |
![]() |
Save | Saves the project item. |
![]() |
SaveAs | Saves the project item. |
![]() |
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