Compartir a través de


ISignatureHelpSourceProvider Interface

Defines an extension used to create signature help providers from a given ITextBuffer opened in a given context.

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

Syntax

'Declaración
Public Interface ISignatureHelpSourceProvider
public interface ISignatureHelpSourceProvider
public interface class ISignatureHelpSourceProvider
type ISignatureHelpSourceProvider =  interface end
public interface ISignatureHelpSourceProvider

The ISignatureHelpSourceProvider type exposes the following members.

Methods

  Name Description
Public method TryCreateSignatureHelpSource Attempts to create a signature help provider for the given text buffer.

Top

Remarks

This is a MEF component part, and should be exported with the following attribute:

[Export(typeof(ISignaturehelpSourceProvider))] 

Component exporters must add at least one ContentTypeAttribute to specify the content types for which the component is valid, and an OrderAttribute to specify the order of this provider with respect to other signature help providers.

Examples

For an example of the use of this interface, see Walkthrough: Displaying Signature Help.

See Also

Reference

Microsoft.VisualStudio.Language.Intellisense Namespace