Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Graph Categories are used to specify category information on a GraphObject, like nodes and links.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.GraphModel.GraphCategory
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Class GraphCategory
public class GraphCategory
public ref class GraphCategory
type GraphCategory = class end
public class GraphCategory
The GraphCategory type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
BasedOnCategory | Get/Set the base category or null |
![]() |
Id | Unique id of this GraphCategory |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Copy | Copy the category so you can manage context local metadata. |
![]() |
Equals | Determines of a passed in category is equivalent to this one (Overrides Object.Equals(Object).) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetGraphMetadata(Graph) | Extra information about this category |
![]() |
GetGraphMetadata(Graph, Boolean) | |
![]() |
GetHashCode | The hash code of the category (Overrides Object.GetHashCode().) |
![]() |
GetLabelOrId | Return the Label of this GraphCategory or else return the ID if no label was set |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
IsBasedOn | Determines if this category is based upon the specified category. Walks the entire "BasedOn" chain looking for the specified category. |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | The Id of the category (Overrides Object.ToString().) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.