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.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
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