Windward Studios 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 10, Windows NT, Windows Server

See Also

Windward Studios - .NET Document Generation software