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




type
The type to convert to.
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 MustOverride Function Convert( _
   ByVal type As Object, _
   ByVal var As Object _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As ODataUtilitiesBase
Dim type As Object
Dim var As Object
Dim value As Object
 
value = instance.Convert(type, var)
C# 
public abstract object Convert( 
   object type,
   object var
)
Managed Extensions for C++ 
public: abstract Object* Convert( 
   Object* type,
   Object* var
) 
C++/CLI 
public:
abstract Object^ Convert( 
   Object^ type,
   Object^ var
) 

Parameters

type
The type to convert to.
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.