ILightBulbBroker.IsSupportedContentType(IContentType) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定是否至少有一项 ISuggestedActionsSourceProvider 支持给定的内容类型。
public:
bool IsSupportedContentType(Microsoft::VisualStudio::Utilities::IContentType ^ contentType);
public:
bool IsSupportedContentType(Microsoft::VisualStudio::Utilities::IContentType ^ contentType);
bool IsSupportedContentType(Microsoft::VisualStudio::Utilities::IContentType const & contentType);
public bool IsSupportedContentType (Microsoft.VisualStudio.Utilities.IContentType contentType);
abstract member IsSupportedContentType : Microsoft.VisualStudio.Utilities.IContentType -> bool
Public Function IsSupportedContentType (contentType As IContentType) As Boolean
参数
- contentType
- IContentType
要检查是否至少有一个支持它的内容类型 ISuggestedActionsSourceProvider 。
返回
如果至少有一个 ISuggestedActionsSourceProvider 支持给定内容类型,则为 true; 否则为false 。