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
'Dichiarazione
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
- session
Type: Microsoft.VisualStudio.Language.Intellisense.ISignatureHelpSession
The ISignatureHelpSession for which the best matching ISignature should be determined.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.