Bewerken

Delen via


Uri.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

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)

Parameters

serializationInfo
SerializationInfo

The information required to serialize the Uri.

streamingContext
StreamingContext

An object that contains the source and destination of the serialized stream associated with the Uri.

Applies to