ISmartTagAction 接口

定义智能标记操作。

命名空间:  Microsoft.VisualStudio.Language.Intellisense
程序集:  Microsoft.VisualStudio.Language.Intellisense(在 Microsoft.VisualStudio.Language.Intellisense.dll 中)

语法

声明
Public Interface ISmartTagAction
public interface ISmartTagAction
public interface class ISmartTagAction
type ISmartTagAction =  interface end
public interface ISmartTagAction

ISmartTagAction 类型公开以下成员。

属性

  名称 说明
公共属性 ActionSets 获取智能标记操作中包含的智能标记操作集的列表。
公共属性 DisplayText 获取默认智能标记呈现器中显示的文本。
公共属性 Icon 获取沿着在默认智能标记的显示文本一起显示的图像信息。
公共属性 IsEnabled 确定是否已启用智能标记操作。默认情况下,禁用智能标记呈现,但不能调用。

页首

方法

  名称 说明
公共方法 Invoke 用于调用智能标记操作的回调。

页首

备注

智能标记会话包含零个或多个事件,智能标记源提供。

示例

有关使用的示例此接口,请参见 演练:显示 SmartTags

请参阅

参考

Microsoft.VisualStudio.Language.Intellisense 命名空间