共用方式為


IVsContainedLanguageCodeSupport Members

Include Protected Members
Include Inherited Members

Provides support for code navigation, event generation, and the like.

The IVsContainedLanguageCodeSupport type exposes the following members.

Methods

  Name Description
Public method CreateUniqueEventName Creates a unique event handler name, given the class context, name of the object instance, and the name of event.
Public method 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.
Public method GetBaseClassName Returns the base class name for the provided class.
Public method GetCompatibleEventHandlers Returns a collection of existing members that match the signature of the provided event description.
Public method GetEventHandlerMemberID Returns the unique member id of an event handler matching the provided description if exists.
Public method 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.
Public method GetMembers Returns a collection of members corresponding to the specified flags.
Public method IsValidID Examines the provided ID to see if it is a valid identifier for the contained language.
Public method OnRenamed Called from a containing IVsContainedLanguageHost object indicating that a rename of a specified type was initiated.

Top

See Also

Reference

IVsContainedLanguageCodeSupport Interface

Microsoft.VisualStudio.TextManager.Interop Namespace