Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Return true if the object has any of the given categories.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function HasCategory ( _
categories As IEnumerable(Of GraphCategory) _
) As Boolean
public bool HasCategory(
IEnumerable<GraphCategory> categories
)
public:
bool HasCategory(
IEnumerable<GraphCategory^>^ categories
)
member HasCategory :
categories:IEnumerable<GraphCategory> -> bool
public function HasCategory(
categories : IEnumerable<GraphCategory>
) : boolean
Parameters
- categories
Type: System.Collections.Generic.IEnumerable<GraphCategory>
The categories to check
Return Value
Type: System.Boolean
Return true if the object has any of the given categories
.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.