Represents a file in the project.
The OAFileItem type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
OAFileItem | Initializes a new instance of OAFileItem for the specified project and node. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Delete | Removes the item from the project and deletes it from storage. (Inherited from OAProjectItem<T>.) |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
ExpandView | Expands the Solution Explorer to show the item. (Inherited from OAProjectItem<T>.) |
![]() |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
get_Extender | Gets the requested extender if it is available for this item. (Inherited from OAProjectItem<T>.) |
![]() |
get_FileNames | Gets the full path and names of the files associated with an item. (Inherited from OAProjectItem<T>.) |
![]() |
get_IsOpen | Gets whether or not the file is open in the specified view. (Overrides OAProjectItem<FileNode>.get_IsOpen(String).) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
Open | Opens this file item in the specified view. (Overrides OAProjectItem<FileNode>.Open(String).) |
![]() |
Remove | Removes the project item from hierarchy, but does not delete it from disk. (Inherited from OAProjectItem<T>.) |
![]() |
Save | Saves the item with the specified file name. (Overrides OAProjectItem<FileNode>.Save(String).) |
![]() |
SaveAs | Saves the file with the specified file name. (Overrides OAProjectItem<FileNode>.SaveAs(String).) |
![]() |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
Collection | Gets the collection of project items to which this item belongs. (Inherited from OAProjectItem<T>.) |
![]() |
ConfigurationManager | Not implemented. Configuration on project items is not supported. (Inherited from OAProjectItem<T>.) |
![]() |
ContainingProject | Gets the automation object representing the project. (Inherited from OAProjectItem<T>.) |
![]() |
Document | Gets the document that this file item represents. (Overrides OAProjectItem<FileNode>.Document.) |
![]() |
DTE | Gets the top-level extensibility object. (Inherited from OAProjectItem<T>.) |
![]() |
ExtenderCATID | Gets the extender category ID (CATID) for the object. (Inherited from OAProjectItem<T>.) |
![]() |
ExtenderNames | Gets a list of available extenders for the item. (Inherited from OAProjectItem<T>.) |
![]() |
FileCodeModel | Gets the file code model for the item, if one exists. (Inherited from OAProjectItem<T>.) |
![]() |
FileCount | Gets the number of files associated with this item. (Inherited from OAProjectItem<T>.) |
![]() |
IsDirty | Gets whether or not the item is dirty. (Overrides OAProjectItem<FileNode>.IsDirty.) |
![]() |
Kind | Gets a GUID string indicating the type of the object. (Inherited from OAProjectItem<T>.) |
![]() |
Name | Gets or sets the name of the item. (Inherited from OAProjectItem<T>.) |
![]() |
Node | Gets the HierarchyNode or derived class corresponding to this item. (Inherited from OAProjectItem<T>.) |
![]() |
Object | Gets an object that can be accessed by name at runtime. (Inherited from OAProjectItem<T>.) |
![]() |
Project | Gets the automation object for the project. (Inherited from OAProjectItem<T>.) |
![]() |
ProjectItems | Gets the project items associated with this file node. (Overrides OAProjectItem<FileNode>.ProjectItems.) |
![]() |
Properties | Gets a collection of all properties that pertain to the item. (Inherited from OAProjectItem<T>.) |
![]() |
Saved | Gets or sets a value indicating whether or not the object has been modified since last being saved or opened. (Inherited from OAProjectItem<T>.) |
![]() |
SubProject | Gets the project if the tem is the root of a subproject. (Inherited from OAProjectItem<T>.) |
Top
.gif)
.gif)
.gif)
.gif)