Search Results for

    Show / Hide Table of Contents

    Class Property

    A Property denotes a key/value pair associated with an Edge.

    Inheritance
    object
    Property
    Implements
    IEquatable<Property>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Gremlin.Net.Structure
    Assembly: Gremlin.Net.dll
    Syntax
    public class Property : IEquatable<Property>

    Constructors

    Property(string, dynamic?, Element?)

    Initializes a new instance of the Property class.

    Declaration
    public Property(string key, dynamic? value, Element? element = null)
    Parameters
    Type Name Description
    string key

    The key of the property.

    dynamic value

    The value of the property.

    Element element

    The (optional) element that the property is associated with.

    Properties

    Element

    Gets the element that this property is associated with.

    Declaration
    public Element? Element { get; }
    Property Value
    Type Description
    Element

    Key

    Gets the key of the property.

    Declaration
    public string Key { get; }
    Property Value
    Type Description
    string

    Value

    Gets the value of the property.

    Declaration
    public dynamic? Value { get; }
    Property Value
    Type Description
    dynamic

    Methods

    Equals(Property?)

    Declaration
    public bool Equals(Property? other)
    Parameters
    Type Name Description
    Property other
    Returns
    Type Description
    bool

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    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