MemberRelationship Structure

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents a single relationship between an object and a member.

Namespace:   System.ComponentModel.Design.Serialization
Assembly:  System (in System.dll)

public struct MemberRelationship

NameDescription
System_CAPS_pubmethodMemberRelationship(Object, MemberDescriptor)

Initializes a new instance of the MemberRelationship class.

NameDescription
System_CAPS_pubpropertyIsEmpty

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

System_CAPS_pubpropertyMember

Gets the related member.

System_CAPS_pubpropertyOwner

Gets the owning object.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether two MemberRelationship instances are equal.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticEmpty

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

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(MemberRelationship, MemberRelationship)

Tests whether two specified MemberRelationship structures are equivalent.

System_CAPS_puboperatorSystem_CAPS_staticInequality(MemberRelationship, MemberRelationship)

Tests whether two specified MemberRelationship structures are different.

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.

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: