GraphCategoryCollection.Remove Method
Removes the first occurrence of a specific object from the collection.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function Remove ( _
item As GraphCategory _
) As Boolean
public bool Remove(
GraphCategory item
)
public:
virtual bool Remove(
GraphCategory^ item
) sealed
abstract Remove :
item:GraphCategory -> bool
override Remove :
item:GraphCategory -> bool
public final function Remove(
item : GraphCategory
) : boolean
Parameters
item
Type: Microsoft.VisualStudio.GraphModel.GraphCategoryThe object to remove from the collection.
Return Value
Type: Boolean
True if item was successfully removed from the collection; otherwise, false. This method also returns false if item is not found in the original collection.
Implements
ICollection.Remove(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.