Class Vertex
Represents 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 Vertex : Element, IEquatable<Element>
Constructors
Vertex(Object, String, Object[])
Initializes a new instance of the Vertex class.
Declaration
public Vertex(object id, string label = "vertex", dynamic[] properties = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | id | The id of the vertex. |
System.String | label | The label of the vertex. |
System.Object[] | properties | Optional properties of the vertex. |
Fields
DefaultLabel
The default label to use for a vertex.
Declaration
public const string DefaultLabel = "vertex"
Field Value
Type | Description |
---|---|
System.String |
Methods
Property(String)
Get property by key
Declaration
public VertexProperty Property(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Returns
Type | Description |
---|---|
VertexProperty | property or null when not found |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>