GraphCategoryCollection.Contains Method
Determines whether the collection contains a specific value.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function Contains ( _
item As GraphCategory _
) As Boolean
public bool Contains(
GraphCategory item
)
public:
virtual bool Contains(
GraphCategory^ item
) sealed
abstract Contains :
item:GraphCategory -> bool
override Contains :
item:GraphCategory -> bool
public final function Contains(
item : GraphCategory
) : boolean
Parameters
item
Type: Microsoft.VisualStudio.GraphModel.GraphCategoryThe item to search for.
Return Value
Type: Boolean
True if item is found in the collection; otherwise, false.
Implements
ICollection.Contains(UTP)
.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.