GraphObject.HasCategory Method (String)
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: StringThe category to remove.
Return Value
Type: 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.