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.159 -- Release Build+a612c25bc0e1c87e5766544ec4650d2ebcfddcf4
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