VsMSBuildTaskFileManagerClass VsMSBuildTaskFileManagerClass VsMSBuildTaskFileManagerClass VsMSBuildTaskFileManagerClass VsMSBuildTaskFileManagerClass Class

Definition

This is the standard implementation of the IVsMSBuildTaskFileManager interface, which provides IntelliSense and build-time support to MSBuild tasks.

public ref class VsMSBuildTaskFileManagerClass : Microsoft::VisualStudio::Shell::Interop::IVsMSBuildTaskFileManager, Microsoft::VisualStudio::Shell::Interop::VsMSBuildTaskFileManager
[Windows::Foundation::Metadata::WebHostHidden]
class VsMSBuildTaskFileManagerClass : Microsoft::VisualStudio::Shell::Interop::IVsMSBuildTaskFileManager, Microsoft::VisualStudio::Shell::Interop::VsMSBuildTaskFileManager
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("E2905C7C-4435-4212-9148-BE9614BD377B")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsMSBuildTaskFileManagerClass : Microsoft.VisualStudio.Shell.Interop.IVsMSBuildTaskFileManager, Microsoft.VisualStudio.Shell.Interop.VsMSBuildTaskFileManager
type VsMSBuildTaskFileManagerClass = class
    interface IVsMSBuildHostObject
    interface VsMSBuildTaskFileManager
    interface IVsMSBuildTaskFileManager
Public Class VsMSBuildTaskFileManagerClass
Implements IVsMSBuildTaskFileManager, VsMSBuildTaskFileManager
Inheritance
VsMSBuildTaskFileManagerClassVsMSBuildTaskFileManagerClassVsMSBuildTaskFileManagerClassVsMSBuildTaskFileManagerClassVsMSBuildTaskFileManagerClass
Attributes
Implements

Constructors

VsMSBuildTaskFileManagerClass() VsMSBuildTaskFileManagerClass() VsMSBuildTaskFileManagerClass() VsMSBuildTaskFileManagerClass() VsMSBuildTaskFileManagerClass()

Creates a new instance of the class.

Methods

BeginBuild() BeginBuild() BeginBuild() BeginBuild() BeginBuild()

Begins a build.

Close() Close() Close() Close() Close()

Closes a build host object.

Delete(String) Delete(String) Delete(String) Delete(String) Delete(String)

Deletes the specified file on disk and removes it from the running document table (RDT).

EndBuild() EndBuild() EndBuild() EndBuild() EndBuild()

Ends a build.

Exists(String, Int32, Int32) Exists(String, Int32, Int32) Exists(String, Int32, Int32) Exists(String, Int32, Int32) Exists(String, Int32, Int32)

Determines if the specified file exists in the running document table (RDT) or on disk.

GetFileContents(String, String) GetFileContents(String, String) GetFileContents(String, String) GetFileContents(String, String) GetFileContents(String, String)

Gets the contents of the specified file, based on what is in memory or if not in memory, what is on disk.

GetFileDocData(String, IntPtr) GetFileDocData(String, IntPtr) GetFileDocData(String, IntPtr) GetFileDocData(String, IntPtr) GetFileDocData(String, IntPtr)

Retrieves the live punkDocData object for the specified file if the file is registered in the running document table (RDT).

GetFileLastChangeTime(String, FILETIME[]) GetFileLastChangeTime(String, FILETIME[]) GetFileLastChangeTime(String, FILETIME[]) GetFileLastChangeTime(String, FILETIME[]) GetFileLastChangeTime(String, FILETIME[])

Retrieves the time of the last change to the specified file.

Init(IVsHierarchy, IServiceProvider) Init(IVsHierarchy, IServiceProvider) Init(IVsHierarchy, IServiceProvider) Init(IVsHierarchy, IServiceProvider) Init(IVsHierarchy, IServiceProvider)

Initializes a build host object.

IsRealBuildOperation(Int32) IsRealBuildOperation(Int32) IsRealBuildOperation(Int32) IsRealBuildOperation(Int32) IsRealBuildOperation(Int32)

Determines whether this is an actual build operation, or is a design-time-only generation for IntelliSense purposes.

PutGeneratedFileContents(String, String) PutGeneratedFileContents(String, String) PutGeneratedFileContents(String, String) PutGeneratedFileContents(String, String) PutGeneratedFileContents(String, String)

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).

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to