IVsContainedLanguageCodeSupport Interface
Provides support for code navigation, event generation, and the like.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
声明
<InterfaceTypeAttribute()> _
<GuidAttribute("F386BE91-0E80-43AF-8EB6-8B829FA06282")> _
Public Interface IVsContainedLanguageCodeSupport
[InterfaceTypeAttribute()]
[GuidAttribute("F386BE91-0E80-43AF-8EB6-8B829FA06282")]
public interface IVsContainedLanguageCodeSupport
[InterfaceTypeAttribute()]
[GuidAttribute(L"F386BE91-0E80-43AF-8EB6-8B829FA06282")]
public interface class IVsContainedLanguageCodeSupport
[<InterfaceTypeAttribute()>]
[<GuidAttribute("F386BE91-0E80-43AF-8EB6-8B829FA06282")>]
type IVsContainedLanguageCodeSupport = interface end
public interface IVsContainedLanguageCodeSupport
The IVsContainedLanguageCodeSupport type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateUniqueEventName | Creates a unique event handler name, given the class context, name of the object instance, and the name of event. | |
EnsureEventHandler | Creates an event handler given the class context, name of the object instance, name of the event, and the (unique) name of event handler, if none exists already. | |
GetBaseClassName | Returns the base class name for the provided class. | |
GetCompatibleEventHandlers | Returns a collection of existing members that match the signature of the provided event description. | |
GetEventHandlerMemberID | Returns the unique member id of an event handler matching the provided description if exists. | |
GetMemberNavigationPoint | Obtains the position (for example the starting character index, starting line, ending character index, ending line, and item ID of file) in the secondary buffer coordinates or partial class file buffer coordinates, of a given a class member, that could be cached and later used to navigate to that member. | |
GetMembers | Returns a collection of members corresponding to the specified flags. | |
IsValidID | Examines the provided ID to see if it is a valid identifier for the contained language. | |
OnRenamed | Called from a containing IVsContainedLanguageHost object indicating that a rename of a specified type was initiated. |
Top
Remarks
Notes to Implementers
Implement this interface on the same class that implements the IVsContainedLanguage interface to support code navigation, generating events, and getting access to various elements of the contained language code block.
Notes to Callers
Obtain this interface by calling the QueryInterface method on an IVsContainedLanguage object or by casting the IVsContainedLanguage object to the IVsContainedLanguageCodeSupport interface.