MemberRelationship Struct

Definition

Represents a single relationship between an object and a member.

public value class MemberRelationship
public struct MemberRelationship
type MemberRelationship = struct
Public Structure MemberRelationship
Inheritance
MemberRelationship

Remarks

MemberRelationshipService is used by a serializer to announce that one property is related to a property on another object. MemberRelationship represents a single relationship between an object and a member that MemberRelationshipService uses in its interactions with a serializer.

Constructors

MemberRelationship(Object, MemberDescriptor)

Initializes a new instance of the MemberRelationship class.

Fields

Empty

Represents the empty member relationship. This field is read-only.

Properties

IsEmpty

Gets a value indicating whether this relationship is equal to the Empty relationship.

Member

Gets the related member.

Owner

Gets the owning object.

Methods

Equals(Object)

Determines whether two MemberRelationship instances are equal.

GetHashCode()

Returns the hash code for this instance.

Operators

Equality(MemberRelationship, MemberRelationship)

Tests whether two specified MemberRelationship structures are equivalent.

Inequality(MemberRelationship, MemberRelationship)

Tests whether two specified MemberRelationship structures are different.

Applies to

See also