GraphProperty Class
Graph Properties are used to annotate a GraphObject, like nodes and links.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.GraphModel.GraphProperty
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Class GraphProperty
public class GraphProperty
public ref class GraphProperty
type GraphProperty = class end
public class GraphProperty
The GraphProperty type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
DataType | Type of data associated with this GraphProperty |
![]() |
Id | Unique id of this GraphProperty |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Copy | Copy the property so you can manage context local metadata. |
![]() |
Equals | Determines if this property is equivalent to another (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.) |
![]() |
GetHashCode | Gets the hash code for this object (Overrides Object.GetHashCode().) |
![]() |
GetLabelOrId | Return the Label of this GraphCategory or else return the ID if no label was set |
![]() |
GetMetadata | Extra information about this category |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | The string representation of this GraphProperty (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.