Partager via


ISignatureHelpSource.GetBestMatch Method

Computes the best matching ISignature instance for the given signature help session. Only the highest- priority signature help provider is asked for this information.

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

Syntax

'Declaration
Function GetBestMatch ( _
    session As ISignatureHelpSession _
) As ISignature
ISignature GetBestMatch(
    ISignatureHelpSession session
)
ISignature^ GetBestMatch(
    ISignatureHelpSession^ session
)
abstract GetBestMatch : 
        session:ISignatureHelpSession -> ISignature
function GetBestMatch(
    session : ISignatureHelpSession
) : ISignature

Parameters

Return Value

Type: Microsoft.VisualStudio.Language.Intellisense.ISignature
A valid ISignature that is also a member of the Signatures collection of the specified ISignatureHelpSession. It can return null if no best match could be determined, and the next highest-priority signature help provider will be asked to determine the best match.

.NET Framework Security

See Also

Reference

ISignatureHelpSource Interface

Microsoft.VisualStudio.Language.Intellisense Namespace