ESRI.ArcGIS.ADF.Web
GetObjectData Method
See Also 
ESRI.ArcGIS.ADF.Web.Display.Swatch Namespace > SwatchInfo Class : GetObjectData Method




info
The SerializationInfo to populate with data.
context
The destination (see StreamingContext) for this serialization.
Populates a SerializationInfo with the data needed to serialize the target object.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) 
Visual Basic (Usage)Copy Code
Dim instance As SwatchInfo
Dim info As SerializationInfo
Dim context As StreamingContext
 
instance.GetObjectData(info, context)
C# 
protected virtual void GetObjectData( 
   SerializationInfo info,
   StreamingContext context
)

Parameters

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

Exceptions

ExceptionDescription
SecurityException The caller does not have the required permission.

See Also

© 2010 All Rights Reserved.