Search Results for

    Show / Hide Table of Contents

    Class VertexProperty

    A VertexProperty denotes a key/value pair associated with a Vertex.

    Inheritance
    object
    Element
    VertexProperty
    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 VertexProperty : Element, IEquatable<Element>

    Constructors

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

    Initializes a new instance of the VertexProperty class.

    Declaration
    public VertexProperty(object? id, string label, dynamic? value, Vertex? vertex = null, dynamic[]? properties = 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.

    dynamic[] properties

    Optional properties of the 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

    Property(string)

    Get property by key

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

    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