Gemstone Common Library
Show/Hide TOC

# ArgumentsGetObjectData Method

Populates a SerializationInfo with the data needed to serialize the target object.

## Definition

Namespace: Gemstone.Console
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.151 -- Release Build+cb63b4525778c53d196bb55bacd9a49fac1f0f07
C#
View Source Request Example

    public void GetObjectData(
    	SerializationInfo info,
    	StreamingContext context
    )

VB
View Source Request Example

    Public Sub GetObjectData (
    	info As SerializationInfo,
    	context As StreamingContext
    )

C++
View Source Request Example

    public:
    virtual void GetObjectData(
    	SerializationInfo^ info,
    	StreamingContext context
    ) sealed

JavaScript
View Source Request Example

    function GetObjectData(info, context);

#### Parameters

info SerializationInfo
  The SerializationInfo to populate with data.
context StreamingContext
  The destination (see StreamingContext) for this serialization.

#### Implements

ISerializableGetObjectData(SerializationInfo, StreamingContext)

## Exceptions

SecurityException | The caller does not have the required permission.

## See Also

#### Reference

Arguments Class
Gemstone.Console Namespace