Uri.GetObjectData(SerializationInfo, StreamingContext) Metodo

Definizione

Restituisce i dati necessari per serializzare l'istanza corrente.Returns the data needed to serialize the current instance.

protected:
 void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
member this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Protected Sub GetObjectData (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parametri

serializationInfo
SerializationInfo

Informazioni necessarie per serializzare l'oggetto Uri.The information required to serialize the Uri.

streamingContext
StreamingContext

Oggetto contenente l'origine e la destinazione del flusso serializzato associato a Uri.An object that contains the source and destination of the serialized stream associated with the Uri.

Si applica a