共用方式為


ISuggestedActionCategory.IsOfCategory(String) Method

Definition

Returns true if this ISuggestedActionCategory derives from the category specified by category.

public:
 bool IsOfCategory(System::String ^ category);
public:
 bool IsOfCategory(Platform::String ^ category);
bool IsOfCategory(std::wstring const & category);
public bool IsOfCategory (string category);
abstract member IsOfCategory : string -> bool
Public Function IsOfCategory (category As String) As Boolean

Parameters

category
String

The name of the base category.

Returns

true if this category derives from the one specified by category, otherwise false.

Applies to