ISignatureHelpBroker Interface
Defines the signature help broker, which is the primary component of the signature help process.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'宣言
Public Interface ISignatureHelpBroker
public interface ISignatureHelpBroker
public interface class ISignatureHelpBroker
type ISignatureHelpBroker = interface end
public interface ISignatureHelpBroker
The ISignatureHelpBroker type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateSignatureHelpSession | Creates a signature help session without starting it. | |
DismissAllSessions | Dismisses any active signature help sessions in this broker's ITextView. | |
GetSessions | Gets the list of all signature help sessions for this broker's ITextView. | |
IsSignatureHelpActive | Determines whether signature help is active. | |
TriggerSignatureHelp(ITextView) | Begins the process of signature help at the position of the caret. | |
TriggerSignatureHelp(ITextView, ITrackingPoint, Boolean) | Starts the process of signature help at the specified point. |
Top
Remarks
The broker is responsible for handling each signature help session from beginning to end. IntelliSense controllers request this broker to trigger or dismiss signature help. The broker can also be used by other components to determine the state of signature help or to trigger the process.
This should be imported as follows:
[Import]
internal ISignatureHelpBroker m_helpBroker = null;
Examples
For an example of the use of this interface, see Walkthrough: Displaying Signature Help.