IWebFileCtxService Interface

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

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

public interface IWebFileCtxService

The IWebFileCtxService type exposes the following members.

Public methodAddDependentAssemblyFileAdd a dependent assembly to the service.
Public methodAddFileToIntellisenseAdd a file to the Intellisense coverage.
Public methodCBMCallbackActiveIndicates whether or not a client build manager (CBM) callback is active.
Public methodConvertToAppRelPathConverts a path to an application-relative path.
Public methodEnsureFileOpenedOpens a file by item identifier.
Public methodGetIntellisenseProjectNameRetrieves the project name for this Intellisense project.
Public methodGetWebRootPathRetrieves the path to the root of the Web site.
Public methodIsDocumentInProjectAdds a file, if it exists, to the project.
Public methodRemoveDependentAssemblyFileRemoves a dependent assembly from the project. The inverse of the AddDependentAssemblyFile method.
Public methodRemoveFileFromIntellisenseRemoves a file from the Intellisense project. The inverse of the AddFileToIntellisense method.
Public methodWaitForIntellisenseReadyWait until the Intellisense project is ready to use.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft