WebHeaderCollection.ISerializable.GetObjectData(SerializationInfo, StreamingContext) 方法

定義

將這個執行個體序列化為指定的 SerializationInfo 物件。Serializes this instance into the specified SerializationInfo object.

 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);

參數

serializationInfo
SerializationInfo

這個 WebHeaderCollection 將序列化為的物件。The object into which this WebHeaderCollection will be serialized.

streamingContext
StreamingContext

序列化的目的地。The destination of the serialization.

實作

適用於