Share via


Edge Members

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

An edge in an Mgraph structure.

The Edge type exposes the following members.

Constructors

  Name Description
Public method Edge Overloaded. Initializes a new instance of the Edge type.

Top

Methods

  Name Description
Public method Equals Overloaded. Compares two edges for equality.
Protected method Finalize (Inherited from Object.)
Public methodStatic member FromKeyValuePairs Returns a collection of edges from a collection of key-value pairs of labels and nodes.
Public methodStatic member FromNodes Returns a collection of edges from a collection of nodes.
Public method GetHashCode Gets the edge hash code from the label and target node hash codes. (Overrides ValueType. . :: . .GetHashCode() () () ().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member ToKeyValuePairs Represents a collection of edges as an enumerable collection of key/value pairs, with the label as the key and the target node as the value.
Public methodStatic member ToNodes Gets the target nodes from the collection of edges.
Public method ToString Represents an edge as a string of the form key => value. (Overrides ValueType. . :: . .ToString() () () ().)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether two edges are equal.
Public operatorStatic member Explicit Narrowing Explicit Explicit Explicit Overloaded.
Public operatorStatic member Inequality Determines whether two edges are unequal.

Top

Fields

  Name Description
Public fieldStatic member Default The edge created by the default constructor.

Top

Properties

  Name Description
Public property IsDefault Gets a value that indicates whether this edge was constructed by the default constructor; such edges have neither a label nor a target node.
Public property KeyValuePair Gets a key-value pair whose key is the object's Label and whose value is the object's Node.
Public property Label Gets the object's Label.
Public property Node Gets this edge's target node.

Top

See Also

Reference

Edge Structure

System.Dataflow Namespace