Table of Contents

Class Property

Namespace
Gremlin.Net.Structure
Assembly
Gremlin.Net.dll

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

public class Property : IEquatable<Property>
Inheritance
Property
Implements
Inherited Members

Constructors

Property(string, dynamic?, Element?)

Initializes a new instance of the Property class.

public Property(string key, dynamic? value, Element? element = null)

Parameters

key string

The key of the property.

value dynamic

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.

public Element? Element { get; }

Property Value

Element

Key

Gets the key of the property.

public string Key { get; }

Property Value

string

Value

Gets the value of the property.

public dynamic? Value { get; }

Property Value

dynamic

Methods

Equals(Property?)

public bool Equals(Property? other)

Parameters

other Property

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string