Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GraphCategoryCollection Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

System.Object
  Microsoft.VisualStudio.GraphModel.GraphCategoryCollection

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

public class GraphCategoryCollection : ICollection<GraphCategory>, 
	IEnumerable<GraphCategory>, IEnumerable

The GraphCategoryCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of elements that are contained in the collection.
Public propertyIsReadOnlyGets a value indicating whether the collection is read-only.
Public propertySchema
Top

  NameDescription
Public methodAddAdds an item to the collection.
Public methodAddNewCategory(String)Registers a new GraphCategory with default metadata creator.
Public methodAddNewCategory(String, Func<GraphMetadata>)Registers a new GraphCategory
Public methodClearRemoves all items from the collection.
Public methodContainsDetermines whether the collection contains a specific value.
Public methodCopyCopies the GraphCategories from one collection to another. This includes the metadata in the source graph to the destination graph.
Public methodCopyToCopies the elements of the collection to a System.Array, starting at a particular System.Array index
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetCategoriesBasedOnGets an enumeration of all categories that are based on the specified base category.
Public methodGetEnumeratorReturns an enumerator for the graph categories.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveRemoves the first occurrence of a specific object from the collection.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft