GraphCategoryCollection Class

 

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

System.Object
  Microsoft.VisualStudio.GraphModel.GraphCategoryCollection

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

NameDescription
System_CAPS_pubpropertyCount

Gets the number of elements that are contained in the collection.

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the collection is read-only.

System_CAPS_pubpropertySchema

NameDescription
System_CAPS_pubmethodAdd(GraphCategory)

Adds an item to the collection.

System_CAPS_pubmethodAddNewCategory(String)

Registers a new GraphCategory with default metadata creator.

System_CAPS_pubmethodAddNewCategory(String, Func<GraphMetadata>)

Registers a new GraphCategory

System_CAPS_pubmethodClear()

Removes all items from the collection.

System_CAPS_pubmethodContains(GraphCategory)

Determines whether the collection contains a specific value.

System_CAPS_pubmethodCopy(GraphCategoryCollection, Graph, Graph)

Copies the GraphCategories from one collection to another. This includes the metadata in the source graph to the destination graph.

System_CAPS_pubmethodCopyTo(GraphCategory[], Int32)

Copies the elements of the collection to a System.Array, starting at a particular System.Array index

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetCategoriesBasedOn(GraphCategory)

Gets an enumeration of all categories that are based on the specified base category.

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator for the graph categories.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(GraphCategory)

Removes the first occurrence of a specific object from the collection.

System_CAPS_pubmethodToString()

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

Return to top
Show: