Share via


GraphCategoryCollection.Remove(GraphCategory) Method

Definition

Removes the first occurrence of a specific object from the collection

public:
 virtual bool Remove(Microsoft::VisualStudio::GraphModel::GraphCategory ^ item);
public bool Remove (Microsoft.VisualStudio.GraphModel.GraphCategory item);
abstract member Remove : Microsoft.VisualStudio.GraphModel.GraphCategory -> bool
override this.Remove : Microsoft.VisualStudio.GraphModel.GraphCategory -> bool
Public Function Remove (item As GraphCategory) As Boolean

Parameters

item
GraphCategory

The object to remove from the collection

Returns

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

Applies to