Partager via


Uri.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Méthode

Définition

Retourne les données nécessaires à la sérialisation de l'instance actuelle.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext) = System::Runtime::Serialization::ISerializable::GetObjectData;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
abstract member System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Sub GetObjectData (serializationInfo As SerializationInfo, streamingContext As StreamingContext) Implements ISerializable.GetObjectData

Paramètres

serializationInfo
SerializationInfo

Informations requises pour sérialiser Uri.

streamingContext
StreamingContext

Objet contenant la source et la destination du flux sérialisé associé à Uri.

Implémente

S’applique à