共用方式為


IVsIntellisenseProject Interface

Definition

Provides IntelliSense support for a project. Used with IVsIntellisenseProjectHost and intended for use with contained languages.

public interface class IVsIntellisenseProject
public interface class IVsIntellisenseProject
__interface IVsIntellisenseProject
[System.Runtime.InteropServices.Guid("3B83B579-4969-4E12-A964-11EC19CC1503")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsIntellisenseProject
[<System.Runtime.InteropServices.Guid("3B83B579-4969-4E12-A964-11EC19CC1503")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsIntellisenseProject = interface
Public Interface IVsIntellisenseProject
Attributes

Remarks

For more information about contained languages, see Contained Languages.

Methods

AddAssemblyReference(String)

Adds an assembly reference to the project.

AddFile(String, UInt32)

Adds a file to the project.

AddP2PReference(Object)

Adds a reference to an object on a peer-to-peer network.

Close()

Releases any resources or interfaces held by the implementation of IVsIntellisenseProject.

GetCodeDomProviderName(String)

Retrieves the name of the code compiler or code generator (code DOM provider).

GetCompilerReference(Object)

Retrieves a pointer to the IUnknown interface of the compiler for the project.

GetContainedLanguageFactory(IVsContainedLanguageFactory)

Returns a pointer to the IVsContainedLanguageFactory interface for the project.

GetExternalErrorReporter(IVsReportExternalErrors)

Retrieves the project's external error reporter, a pointer to an IVsReportExternalErrors interface.

GetFileCodeModel(Object, Object, Object)

Retrieves the code model for a file specified by project and item.

GetProjectCodeModel(Object, Object)

Retrieves the code model for the project.

Init(IVsIntellisenseProjectHost)

Initializes an Intellisense project.

IsCompilableFile(String)

Indicates whether or not a file can be compiled, based on its extension.

IsSupportedP2PReference(Object)

Indicates whether or not a peer-to-peer network reference to an object is supported.

IsWebFileRequiredByProject(Int32)

Indicates whether or not an Intellisense project can include Web files. Visual Basic projects cannot, Visual C# projects can.

RefreshCompilerOptions()

Refreshes the compiler options using settings from the host.

RemoveAssemblyReference(String)

Removes a reference to an assembly.

RemoveFile(String, UInt32)

Removes a file from the project.

RemoveP2PReference(Object)

Removes a reference to an object over a peer-to-peer network.

RenameFile(String, String, UInt32)

Renames a file in the project.

ResumePostedNotifications()

Enables posting of compiler messages.

StartIntellisenseEngine()

Start the Intellisense engine.

StopIntellisenseEngine()

Stop the Intellisense engine.

SuspendPostedNotifications()

Stops posting of compiler messages.

WaitForIntellisenseReady()

Wait until the Intellisense engine is ready.

Applies to