DataParameter.GetTypeFrom(Object) Method

Definition

Infers the data-source-specific parameter type from a parameter value.

protected:
 virtual System::String ^ GetTypeFrom(System::Object ^ value);
protected virtual string GetTypeFrom (object value);
abstract member GetTypeFrom : obj -> string
override this.GetTypeFrom : obj -> string
Protected Overridable 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