PSObject.GetObjectData(SerializationInfo, StreamingContext) PSObject.GetObjectData(SerializationInfo, StreamingContext) PSObject.GetObjectData(SerializationInfo, StreamingContext) PSObject.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Implements the ISerializable contract for serializing a PSObject

public:
 virtual void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public virtual void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
abstract member GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overridable Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

Serialization information for this instance

context
StreamingContext StreamingContext StreamingContext StreamingContext

The streaming context for this instance

Applies to