GraphProperty Class
Graph Properties are used to annotate a GraphObject, like nodes and links.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.GraphModel.GraphMetadataContainer
Microsoft.VisualStudio.GraphModel.GraphProperty
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Class GraphProperty _
Inherits GraphMetadataContainer
public class GraphProperty : GraphMetadataContainer
public ref class GraphProperty : public GraphMetadataContainer
type GraphProperty =
class
inherit GraphMetadataContainer
end
public class GraphProperty extends GraphMetadataContainer
The GraphProperty type exposes the following members.
Properties
Name | Description | |
---|---|---|
DataType | Type of data associated with this GraphProperty | |
DefaultCallback | (Inherited from GraphMetadataContainer.) | |
Id | Unique id of this GraphProperty |
Top
Methods
Name | Description | |
---|---|---|
CreateDefaultMetadata | (Inherited from GraphMetadataContainer.) | |
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 | Gets the graph specific metadata that describes this object. (Inherited from GraphMetadataContainer.) | |
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.