Windward Engine API Reference
Convert(Object,Object) Method
See Also  Send comments on this topic.
WindwardReportsDrivers.net.windward.datasource.odata.odatav123 Namespace > ODataUtilities Class > Convert Method : Convert(Object,Object) Method




typeObj
var
The value to convert.

Glossary Item Box

Converts to the type passed in, if possible. If not possible, returns the passed in value.

Syntax

Visual Basic (Declaration) 
Public Overloads Overrides Function Convert( _
   ByVal typeObj As Object, _
   ByVal var As Object _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As ODataUtilities
Dim typeObj As Object
Dim var As Object
Dim value As Object
 
value = instance.Convert(typeObj, var)
C# 
public override object Convert( 
   object typeObj,
   object var
)
Managed Extensions for C++ 
public: Object* Convert( 
   Object* typeObj,
   Object* var
) override 
C++/CLI 
public:
Object^ Convert( 
   Object^ typeObj,
   Object^ var
) override 

Parameters

typeObj
var
The value to convert.

Return Value

The converted value.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family

See Also

© 2019 All Rights Reserved.