Share via


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

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

See Also

Reference

GraphCategoryCollection Class

Microsoft.VisualStudio.GraphModel Namespace