GraphObject.HasCategory Method (IEnumerable<GraphCategory>)
[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 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
Returns 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.