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
Public property DataType Type of data associated with this GraphProperty
Public property Id Unique id of this GraphProperty

Top

Methods

  Name Description
Public method Copy Copy the property so you can manage context local metadata.
Public method Equals Determines if this property is equivalent to another (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Gets the hash code for this object (Overrides Object.GetHashCode().)
Public method GetLabelOrId Return the Label of this GraphCategory or else return the ID if no label was set
Public method GetMetadata Extra information about this category
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.GraphModel Namespace