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.164 -- Release Build+6bbd7ea5ff4ad8917f12d693358b77d083ee278e
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