AdoDotNetMappedObjectConverter.GetProviderTypeFromNativeType Method

Converts the native type to the provider's specific type.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'宣言
Protected Overridable Function GetProviderTypeFromNativeType ( _
    nativeType As String _
) As Integer
'使用
Dim nativeType As String
Dim returnValue As Integer

returnValue = Me.GetProviderTypeFromNativeType(nativeType)
protected virtual int GetProviderTypeFromNativeType(
    string nativeType
)
protected:
virtual int GetProviderTypeFromNativeType(
    String^ nativeType
)
protected function GetProviderTypeFromNativeType(
    nativeType : String
) : int

Parameters

  • nativeType
    Type: System.String

    A string containing the name of the native type to convert.

Return Value

Type: System.Int32

The provider's specific type value, or 0 if the type cannot be converted.

Permissions

See Also

Reference

AdoDotNetMappedObjectConverter Class

AdoDotNetMappedObjectConverter Members

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace