Sdílet prostřednictvím


AdoDotNetParameter.GetTypeFrom(Object) Method

Definition

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

The corresponding DbType string value, or AnsiString for a null or DBNull value.

Applies to