ESRI.ArcGIS.ADF.ArcGISServer
ValueObjectToComObject Method
See Also 
ESRI.ArcGIS.ADF.ArcGISServer Namespace > Converter Class : ValueObjectToComObject Method




proxy
The .NET value object to convert.
serverContext
The ArcGIS Server context that will host the COM object. Has to be of type IServerContext
Converts an ArcGIS Server object from its .NET proxy "value" type to the corresponding COM type.

Syntax

Visual Basic (Declaration) 
Public Shared Function ValueObjectToComObject( _
   ByVal proxy As Object, _
   ByVal serverContext As Object _
) As Object
Visual Basic (Usage)Copy Code
Dim proxy As Object
Dim serverContext As Object
Dim value As Object
 
value = Converter.ValueObjectToComObject(proxy, serverContext)
C# 
public static object ValueObjectToComObject( 
   object proxy,
   object serverContext
)

Parameters

proxy
The .NET value object to convert.
serverContext
The ArcGIS Server context that will host the COM object. Has to be of type IServerContext

Return Value

The converted COM object.

Remarks

For a discussion of conversions in the ArcGIS Server Web ADF, see the topic Converting between data types in the Web ADF Developer Help (also available online at the ArcGIS Server resource center).

See Also

© 2010 All Rights Reserved.