共用方式為


IWebFileCtxService Interface

Definition

Prepares the IntelliSense infrastructure for a given assembly file. You can get an instance of the interface from the SWebFileCtxService (SID_SWebFileCtxService) service.

public interface class IWebFileCtxService
public interface class IWebFileCtxService
__interface IWebFileCtxService
[System.Runtime.InteropServices.Guid("05B4B4B7-6A9D-4A70-BDB1-04CBB26C9248")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IWebFileCtxService
[<System.Runtime.InteropServices.Guid("05B4B4B7-6A9D-4A70-BDB1-04CBB26C9248")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IWebFileCtxService = interface
Public Interface IWebFileCtxService
Attributes

Methods

AddDependentAssemblyFile(String)

Add a dependent assembly to the service.

AddFileToIntellisense(String, UInt32)

Add a file to the Intellisense coverage.

CBMCallbackActive()

Indicates whether or not a client build manager (CBM) callback is active.

ConvertToAppRelPath(String, String)

Converts a path to an application-relative path.

EnsureFileOpened(UInt32, IVsWindowFrame)

Opens a file by item identifier.

GetIntellisenseProjectName(String)

Retrieves the project name for this Intellisense project.

GetWebRootPath(String)

Retrieves the path to the root of the Web site.

IsDocumentInProject(String, UInt32)

Adds a file, if it exists, to the project.

RemoveDependentAssemblyFile(String)

Removes a dependent assembly from the project. The inverse of the AddDependentAssemblyFile(String) method.

RemoveFileFromIntellisense(String)

Removes a file from the Intellisense project. The inverse of the AddFileToIntellisense(String, UInt32) method.

WaitForIntellisenseReady()

Wait until the Intellisense project is ready to use.

Applies to