Class Property
A Property denotes a key/value pair associated with an Edge.
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
Key
Gets the key of the property.
Declaration
public string Key { get; }
Property Value
Value
Gets the value of the property.
Declaration
public dynamic Value { get; }
Property Value
Methods
Equals(Property)
Declaration
public bool Equals(Property other)
Parameters
Returns
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements