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)

[GuidAttribute("05B4B4B7-6A9D-4A70-BDB1-04CBB26C9248")]
[InterfaceTypeAttribute()]
public interface IWebFileCtxService

The IWebFileCtxService type exposes the following members.

  NameDescription
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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft