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 | 用以叫用智慧標籤動作的回呼。 |
回頁首
備註
智慧標籤的工作階段包含零個或多個動作,所提供的智慧標籤的來源。
範例
如需使用此介面的範例,請參閱逐步解說: 顯示智慧標籤。