GraphCategory Class

 

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

NameDescription
System_CAPS_pubpropertyBasedOnCategory

Get/Set the base category or null

System_CAPS_protpropertyDefaultCallback

(Inherited from GraphMetadataContainer.)

System_CAPS_pubpropertyId

Unique id of this GraphCategory

NameDescription
System_CAPS_pubmethodCreateDefaultMetadata()

(Inherited from GraphMetadataContainer.)

System_CAPS_pubmethodEquals(Object)

Determines of a passed in category is equivalent to this one(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

The hash code of the category(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetLabelOrId(Graph)

Return the Label of this GraphCategory or else return the ID if no label was set

System_CAPS_pubmethodGetMetadata(Graph)

Gets the graph specific metadata that describes this object.(Inherited from GraphMetadataContainer.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsBasedOn(GraphCategory)

Determines if this category is based upon the specified category. Walks the entire "BasedOn" chain looking for the specified category.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

The Id of the category(Overrides Object.ToString().)

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: