다음을 통해 공유


ISmartTagSourceProvider Interface

Definition

Caution

This API is deprecated in this version of the Visual Studio SDK, and will be retired in a future version. To find out more about the replacement API, Light Bulb, refer to http://go.microsoft.com/fwlink/?LinkId=394601.

Defines a provider of a smart tag source.Smart tags are deprecated in favor of light bulbs. See Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionSourceProvider for a replacement.

public interface class ISmartTagSourceProvider
public interface class ISmartTagSourceProvider
__interface ISmartTagSourceProvider
[System.Obsolete("This API is deprecated in this version of the Visual Studio SDK, and will be retired in a future version. To find out more about the replacement API, Light Bulb, refer to http://go.microsoft.com/fwlink/?LinkId=394601.")]
public interface ISmartTagSourceProvider
[<System.Obsolete("This API is deprecated in this version of the Visual Studio SDK, and will be retired in a future version. To find out more about the replacement API, Light Bulb, refer to http://go.microsoft.com/fwlink/?LinkId=394601.")>]
type ISmartTagSourceProvider = interface
Public Interface ISmartTagSourceProvider
Attributes

Remarks

This is a MEF component part, and should be exported with the following attribute: [Export(typeof(ISmartTagSourceProvider))] [Order] [Name] [ContentType] You must specify the ContentType so that the source provider creates sources for buffers of content types that it recognizes, and Order to specify the order in which the sources are called.

Methods

TryCreateSmartTagSource(ITextBuffer)

Attempts to create a smart tag source for the specified buffer.Smart tags are deprecated in favor of light bulbs. See Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionSourceProvider for a replacement.

Applies to