Windward Engine API Reference
ConvertToVarType Method
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > TemplateVariable Class : ConvertToVarType Method




type
DbType to convert.

Glossary Item Box

Convert a DbType to the matching VAR_TYPE

Syntax

Visual Basic (Declaration) 
Public Shared Function ConvertToVarType( _
   ByVal type As DbType _
) As TemplateVariable.VAR_TYPE
Visual Basic (Usage)Copy Code
Dim type As DbType
Dim value As TemplateVariable.VAR_TYPE
 
value = TemplateVariable.ConvertToVarType(type)
C# 
public static TemplateVariable.VAR_TYPE ConvertToVarType( 
   DbType type
)
Managed Extensions for C++ 
public: static TemplateVariable.VAR_TYPE ConvertToVarType( 
   DbType type
) 
C++/CLI 
public:
static TemplateVariable.VAR_TYPE ConvertToVarType( 
   DbType type
) 

Parameters

type
DbType to convert.

Return Value

Equivilent VAR_TYPE.

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.