ILightBulbBroker.IsSupportedContentType(IContentType) 方法

定义

确定是否至少有一项 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

返回

Boolean

如果至少有一个 ISuggestedActionsSourceProvider 支持给定内容类型,则为 true; 否则为false

适用于