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)
Initializes a new instance of the Vertex class.
Declaration
public Vertex(object id, string label = "vertex")
Parameters
Type | Name | Description |
---|---|---|
System.Object | id | The id of the vertex. |
System.String | label | The label 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
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>