MemberRelationship Struct
Definizione
Rappresenta una singola relazione tra un oggetto e un membro.Represents a single relationship between an object and a member.
public value class MemberRelationship
public struct MemberRelationship
type MemberRelationship = struct
Public Structure MemberRelationship
- Ereditarietà
Commenti
MemberRelationshipServiceviene utilizzato da un serializzatore per annunciare che una proprietà è correlata a una proprietà in un altro oggetto.MemberRelationshipService is used by a serializer to announce that one property is related to a property on another object. MemberRelationshiprappresenta una singola relazione tra un oggetto e un membro che MemberRelationshipService utilizza nelle interazioni con un serializzatore.MemberRelationship represents a single relationship between an object and a member that MemberRelationshipService uses in its interactions with a serializer.
Costruttori
MemberRelationship(Object, MemberDescriptor) |
Inizializza una nuova istanza della classe MemberRelationship.Initializes a new instance of the MemberRelationship class. |
Campi
Empty |
Rappresenta la relazione di membri vuota.Represents the empty member relationship. Questo campo è di sola lettura.This field is read-only. |
Proprietà
IsEmpty |
Ottiene un valore che indica se questa relazione è uguale alla relazione Empty.Gets a value indicating whether this relationship is equal to the Empty relationship. |
Member |
Ottiene il membro correlato.Gets the related member. |
Owner |
Ottiene l'oggetto proprietario.Gets the owning object. |
Metodi
Equals(Object) |
Determina se due istanze di MemberRelationship sono uguali.Determines whether two MemberRelationship instances are equal. |
GetHashCode() |
Restituisce il codice hash per l'istanza.Returns the hash code for this instance. |
Operatori
Equality(MemberRelationship, MemberRelationship) |
Verifica se due strutture MemberRelationship specificate sono equivalenti.Tests whether two specified MemberRelationship structures are equivalent. |
Inequality(MemberRelationship, MemberRelationship) |
Verifica se due strutture MemberRelationship specificate sono diverse.Tests whether two specified MemberRelationship structures are different. |