संपादित करें

इसके माध्यम से साझा किया गया


MemberRelationship Struct

Definition

Represents a single relationship between an object and a member.

public value class MemberRelationship
public value class MemberRelationship : IEquatable<System::ComponentModel::Design::Serialization::MemberRelationship>
public readonly struct MemberRelationship
public readonly struct MemberRelationship : IEquatable<System.ComponentModel.Design.Serialization.MemberRelationship>
public struct MemberRelationship
type MemberRelationship = struct
Public Structure MemberRelationship
Public Structure MemberRelationship
Implements IEquatable(Of MemberRelationship)
Inheritance
MemberRelationship
Implements

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(MemberRelationship)

Determines whether this instance is equal to the specified MemberRelationship instance.

Equals(Object)

Determines whether this instance is equal to the specified object representing a MemberRelationship instance.

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