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.173 -- Release Build+298e1c238b074757f82f41812034645402a162ed
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