GraphCategoryCollection Class

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


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.

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

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.)

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
© 2015 Microsoft