Freigeben über


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)

Syntax

'Declaration
<GuidAttribute("05B4B4B7-6A9D-4A70-BDB1-04CBB26C9248")> _
<InterfaceTypeAttribute()> _
Public Interface IWebFileCtxService
[GuidAttribute("05B4B4B7-6A9D-4A70-BDB1-04CBB26C9248")]
[InterfaceTypeAttribute()]
public interface IWebFileCtxService
[GuidAttribute(L"05B4B4B7-6A9D-4A70-BDB1-04CBB26C9248")]
[InterfaceTypeAttribute()]
public interface class IWebFileCtxService
[<GuidAttribute("05B4B4B7-6A9D-4A70-BDB1-04CBB26C9248")>]
[<InterfaceTypeAttribute()>]
type IWebFileCtxService =  interface end
public interface IWebFileCtxService

The IWebFileCtxService type exposes the following members.

Methods

  Name Description
Public method AddDependentAssemblyFile Add a dependent assembly to the service.
Public method AddFileToIntellisense Add a file to the Intellisense coverage.
Public method CBMCallbackActive Indicates whether or not a client build manager (CBM) callback is active.
Public method ConvertToAppRelPath Converts a path to an application-relative path.
Public method EnsureFileOpened Opens a file by item identifier.
Public method GetIntellisenseProjectName Retrieves the project name for this Intellisense project.
Public method GetWebRootPath Retrieves the path to the root of the Web site.
Public method IsDocumentInProject Adds a file, if it exists, to the project.
Public method RemoveDependentAssemblyFile Removes a dependent assembly from the project. The inverse of the AddDependentAssemblyFile method.
Public method RemoveFileFromIntellisense Removes a file from the Intellisense project. The inverse of the AddFileToIntellisense method.
Public method WaitForIntellisenseReady Wait until the Intellisense project is ready to use.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace