Windward Engine API Reference
GetDbType(Type) Method
See Also  Send comments on this topic.
WindwardReportsDrivers.net.windward.datasource.abstract_datasource Namespace > AbstractDataSourceMetaDataHelper Class : GetDbType(Type) Method




type
The variable type.

Glossary Item Box

Convert a variable type to a DbType.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetDbType( _
   ByVal type As Type _
) As DbType
Visual Basic (Usage)Copy Code
Dim type As Type
Dim value As DbType
 
value = AbstractDataSourceMetaDataHelper.GetDbType(type)
C# 
public static DbType GetDbType( 
   Type type
)
Managed Extensions for C++ 
public: static DbType GetDbType( 
   Type* type
) 
C++/CLI 
public:
static DbType GetDbType( 
   Type^ type
) 

Parameters

type
The variable type.

Return Value

The equivilent DbType.

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.