Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​ComponentModel.​Design.​Serialization.​MemberRelationship

Assembly: System.ComponentModel.TypeConverter

Implemented Interfaces

Represents a single relationship between an object and a member.

Fields and Constants

public static readonly MemberRelationship
Empty
Represents the empty member relationship. This field is read-only.

Properties

public bool
IsEmpty
Gets a value indicating whether this relationship is equal to the <see cref="F:System.ComponentModel.Design.Serialization.MemberRelationship.Empty" /> relationship.
Member
Gets the related member.
public object
Owner
Gets the owning object.

Methods

public bool
Equals​(MemberRelationship other)
Determines whether this instance is equal to the specified <see cref="T:System.ComponentModel.Design.Serialization.MemberRelationship" /> instance.
Returns <see langword="true" /> if the specified <see cref="T:System.ComponentModel.Design.Serialization.MemberRelationship" /> is equal to the current <see cref="T:System.ComponentModel.Design.Serialization.MemberRelationship" /> ; otherwise, <see langword="false" /> .
other The <see cref="T:System.ComponentModel.Design.Serialization.MemberRelationship" /> to compare with the current <see cref="T:System.ComponentModel.Design.Serialization.MemberRelationship" /> .
public bool
Equals​(object obj)
Determines whether this instance is equal to the specified object representing a <see cref="T:System.ComponentModel.Design.Serialization.MemberRelationship" /> instance.
Returns <see langword="true" /> if the specified object is a <see cref="T:System.ComponentModel.Design.Serialization.MemberRelationship" /> instance and is equal to the current <see cref="T:System.ComponentModel.Design.Serialization.MemberRelationship" /> ; otherwise, <see langword="false" /> .
obj The <see cref="T:System.ComponentModel.Design.Serialization.MemberRelationship" /> to compare with the current <see cref="T:System.ComponentModel.Design.Serialization.MemberRelationship" /> .
public int
GetHashCode​()
Returns the hash code for this instance.
Returns A hash code for the current <see cref="T:System.ComponentModel.Design.Serialization.MemberRelationship" /> .
public string
ToString​()
Inherited from ValueType
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object