GraphObject.HasCategory Method (String)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns true if the object has the given category.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function HasCategory ( _
category As String _
) As Boolean
public bool HasCategory(
string category
)
public:
bool HasCategory(
String^ category
)
member HasCategory :
category:string -> bool
public function HasCategory(
category : String
) : boolean
Parameters
category
Type: System.StringThe category to remove.
Return Value
Type: System.Boolean
Returns true if the object has the given category.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.