Partager via


PropertyInformationCollection.GetObjectData Méthode

Définition

Attention

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Remplit un objet SerializationInfo avec les données nécessaires pour sérialiser l'instance de PropertyInformationCollection.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Paramètres

info
SerializationInfo

Objet SerializationInfo qui contient les informations nécessaires pour sérialiser l'instance PropertyInformationCollection.

context
StreamingContext

Objet StreamingContext qui contient la source et la destination du flux sérialisé associé à l'instance du PropertyInformationCollection.

Attributs

Exceptions

info a la valeur null.

S’applique à

Voir aussi