Export (0) Print
Expand All

GraphCategory Class

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

Graph Categories are used to specify category information on a GraphObject, like nodes and links.

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

public class GraphCategory : GraphMetadataContainer

The GraphCategory type exposes the following members.

  NameDescription
Public propertyBasedOnCategoryGet/Set the base category or null
Protected propertyDefaultCallback (Inherited from GraphMetadataContainer.)
Public propertyIdUnique id of this GraphCategory
Top

  NameDescription
Public methodCreateDefaultMetadata (Inherited from GraphMetadataContainer.)
Public methodEqualsDetermines of a passed in category is equivalent to this one (Overrides Object.Equals(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 methodGetHashCodeThe hash code of the category (Overrides Object.GetHashCode().)
Public methodGetLabelOrIdReturn the Label of this GraphCategory or else return the ID if no label was set
Public methodGetMetadataGets the graph specific metadata that describes this object. (Inherited from GraphMetadataContainer.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsBasedOnDetermines if this category is based upon the specified category. Walks the entire "BasedOn" chain looking for the specified category.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringThe Id of the category (Overrides Object.ToString().)
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.
Show:
© 2014 Microsoft