Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
DataType..::ForType Method (Object)

Return the appropriate DataType for the type of the given object. Will return null if can't determine the appropriate type.

Namespace: StreamBase.SB
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 10.3.0.0

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public static DataType ForType(
    	Object obj
    )

    Public Shared Function ForType ( _
    	obj As Object _
    ) As DataType

    public:
    static DataType^ ForType(
    	Object^ obj
    )

#### Parameters

obj
  Object

# See Also

DataType Class
ForType Overload
StreamBase.SB Namespace