共用方式為


ISignatureHelpBroker.CreateSignatureHelpSession Method

Creates a signature help session without starting it.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'宣告
Function CreateSignatureHelpSession ( _
    textView As ITextView, _
    triggerPoint As ITrackingPoint, _
    trackCaret As Boolean _
) As ISignatureHelpSession
ISignatureHelpSession CreateSignatureHelpSession(
    ITextView textView,
    ITrackingPoint triggerPoint,
    bool trackCaret
)
ISignatureHelpSession^ CreateSignatureHelpSession(
    ITextView^ textView, 
    ITrackingPoint^ triggerPoint, 
    bool trackCaret
)
abstract CreateSignatureHelpSession : 
        textView:ITextView * 
        triggerPoint:ITrackingPoint * 
        trackCaret:bool -> ISignatureHelpSession 
function CreateSignatureHelpSession(
    textView : ITextView, 
    triggerPoint : ITrackingPoint, 
    trackCaret : boolean
) : ISignatureHelpSession

Parameters

  • trackCaret
    Type: System.Boolean
    true if this session should track the caret, false otherwise. When the caret is tracked, the only items to be displayed are those whose applicability span contains the caret.

Return Value

Type: Microsoft.VisualStudio.Language.Intellisense.ISignatureHelpSession
A valid ISignatureHelpSession. May be null if no session could be created.

.NET Framework Security

See Also

Reference

ISignatureHelpBroker Interface

Microsoft.VisualStudio.Language.Intellisense Namespace