Share via


AdoDotNetParameter.GetTypeFrom(Object) Method

Definition

Returns a AnsiString for a null or DBNull value; alternatively maps the value type to a DbType value and returns the string equivalent.

protected:
 override System::String ^ GetTypeFrom(System::Object ^ value);
protected override string GetTypeFrom (object value);
override this.GetTypeFrom : obj -> string
Protected Overrides Function GetTypeFrom (value As Object) As String

Parameters

value
Object

A candidate parameter value.

Returns

Returns the data-source-specific type, or returns null if the value type is not supported.

Applies to