Search Results for

    Show / Hide Table of Contents

    Class Vertex

    Represents a vertex.

    Inheritance
    object
    Element
    Vertex
    Implements
    IEquatable<Element>
    Inherited Members
    Element.Id
    Element.Label
    Element.Properties
    Element.Equals(Element)
    Element.Equals(object)
    Element.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Gremlin.Net.Structure
    Assembly: Gremlin.Net.dll
    Syntax
    public class Vertex : Element, IEquatable<Element>

    Constructors

    Vertex(object?, string, dynamic[]?)

    Initializes a new instance of the Vertex class.

    Declaration
    public Vertex(object? id, string label = "vertex", dynamic[]? properties = null)
    Parameters
    Type Name Description
    object id

    The id of the vertex.

    string label

    The label of the vertex.

    dynamic[] 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
    string

    Methods

    Property(string)

    Get property by key

    Declaration
    public VertexProperty? Property(string key)
    Parameters
    Type Name Description
    string key
    Returns
    Type Description
    VertexProperty

    property or null when not found

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    IEquatable<T>
    In this article
    Back to top Copyright © 2018 The Apache Software Foundation