次の方法で共有


ISignatureHelpSource.GetBestMatch(ISignatureHelpSession) Method

Definition

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

public:
 Microsoft::VisualStudio::Language::Intellisense::ISignature ^ GetBestMatch(Microsoft::VisualStudio::Language::Intellisense::ISignatureHelpSession ^ session);
public:
 Microsoft::VisualStudio::Language::Intellisense::ISignature ^ GetBestMatch(Microsoft::VisualStudio::Language::Intellisense::ISignatureHelpSession ^ session);
Microsoft::VisualStudio::Language::Intellisense::ISignature GetBestMatch(Microsoft::VisualStudio::Language::Intellisense::ISignatureHelpSession const & session);
public Microsoft.VisualStudio.Language.Intellisense.ISignature GetBestMatch (Microsoft.VisualStudio.Language.Intellisense.ISignatureHelpSession session);
abstract member GetBestMatch : Microsoft.VisualStudio.Language.Intellisense.ISignatureHelpSession -> Microsoft.VisualStudio.Language.Intellisense.ISignature
Public Function GetBestMatch (session As ISignatureHelpSession) As ISignature

Parameters

session
ISignatureHelpSession

The ISignatureHelpSession for which the best matching ISignature should be determined.

Returns

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.

Applies to