Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This is the standard implementation of the IVsMSBuildTaskFileManager interface, which provides IntelliSense and build-time support to MSBuild tasks.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.Shell.Interop.VsMSBuildTaskFileManagerClass
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'Declaration
<GuidAttribute("E2905C7C-4435-4212-9148-BE9614BD377B")> _
<ClassInterfaceAttribute()> _
Public Class VsMSBuildTaskFileManagerClass _
Implements IVsMSBuildHostObject, VsMSBuildTaskFileManager, IVsMSBuildTaskFileManager
[GuidAttribute("E2905C7C-4435-4212-9148-BE9614BD377B")]
[ClassInterfaceAttribute()]
public class VsMSBuildTaskFileManagerClass : IVsMSBuildHostObject,
VsMSBuildTaskFileManager, IVsMSBuildTaskFileManager
[GuidAttribute(L"E2905C7C-4435-4212-9148-BE9614BD377B")]
[ClassInterfaceAttribute()]
public ref class VsMSBuildTaskFileManagerClass : IVsMSBuildHostObject,
VsMSBuildTaskFileManager, IVsMSBuildTaskFileManager
[<GuidAttribute("E2905C7C-4435-4212-9148-BE9614BD377B")>]
[<ClassInterfaceAttribute()>]
type VsMSBuildTaskFileManagerClass =
class
interface IVsMSBuildHostObject
interface VsMSBuildTaskFileManager
interface IVsMSBuildTaskFileManager
end
public class VsMSBuildTaskFileManagerClass implements IVsMSBuildHostObject, VsMSBuildTaskFileManager, IVsMSBuildTaskFileManager
The VsMSBuildTaskFileManagerClass type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
VsMSBuildTaskFileManagerClass | Creates a new instance of the class. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
BeginBuild | Begins a build. |
![]() |
Close | Closes a build host object. |
![]() |
Delete | Deletes the specified file on disk and removes it from the running document table (RDT). |
![]() |
EndBuild | Ends a build. |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Exists | Determines if the specified file exists in the running document table (RDT) or on disk. |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetFileContents | Gets the contents of the specified file, based on what is in memory or if not in memory, what is on disk. |
![]() |
GetFileDocData | Retrieves the live punkDocData object for the specified file if the file is registered in the running document table (RDT). |
![]() |
GetFileLastChangeTime | Retrieves the time of the last change to the specified file. |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Init | Initializes a build host object. |
![]() |
IsRealBuildOperation | Determines whether this is an actual build operation, or is a design-time-only generation for IntelliSense purposes. |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
PutGeneratedFileContents | Puts the contents for the generated file into an in-memory TextBuffer and registers it in the running document table (RDT) with an RDT_ReadLock. This holds the file open in memory until the project is closed (when the project calls IVsMSBuildHostObject::Close). |
![]() |
ToString | Returns a string that represents the current object. (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.