Class VertexProperty
A VertexProperty denotes a key/value pair associated with a Vertex.
Implements
System.IEquatable<Element>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Gremlin.Net.Structure
Assembly: cs.temp.dll.dll
Syntax
public class VertexProperty : Element, IEquatable<Element>
Constructors
VertexProperty(Object, String, Object, Vertex)
Initializes a new instance of the VertexProperty class.
Declaration
public VertexProperty(object id, string label, dynamic value, Vertex vertex = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | id | The id of the vertex property. |
System.String | label | The label of the vertex property. |
System.Object | value | The id of the vertex property. |
Vertex | vertex | The (optional) Vertex that owns this VertexProperty. |
Properties
Key
The key of this VertexProperty.
Declaration
public string Key { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
The value of this VertexProperty.
Declaration
public dynamic Value { get; }
Property Value
Type | Description |
---|---|
System.Object |
Vertex
The Vertex that owns this VertexProperty.
Declaration
public Vertex Vertex { get; }
Property Value
Type | Description |
---|---|
Vertex |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>