PrintPropertyDictionary.GetObjectData(SerializationInfo, StreamingContext) 方法

定義

以序列化 SerializationInfo 所需的資料填入 PrintPropertyDictionaryPopulates a SerializationInfo with the data that is needed to serialize the PrintPropertyDictionary.

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.Security.SecurityCritical]
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.Security.SecurityCritical>]
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

參數

info
SerializationInfo

儲存用來序列化物件的所有資料。Stores all the data that is used to serialize the object.

context
StreamingContext

描述已序列化資料流的內容,包括來源和目的端。Describes the context of the serialized stream, including the source and the destination.

實作

屬性

適用於