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