Class VertexProperty
A VertexProperty denotes a key/value pair associated with a Vertex.
Implements
Inherited Members
Namespace: Gremlin.Net.Structure
Assembly: Gremlin.Net.dll
Syntax
public class VertexProperty : Element, IEquatable<Element>
Constructors
VertexProperty(object, string, dynamic, 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 |
---|---|---|
object | id | The id of the vertex property. |
string | label | The label of the vertex property. |
dynamic | 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 |
---|---|
string |
Value
The value of this VertexProperty.
Declaration
public dynamic Value { get; }
Property Value
Type | Description |
---|---|
dynamic |
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 |
---|---|
string |