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
Schema..::..Field..::CheckType Method (DataType)

Check to make sure that the given DataType is the same as the DataType of this Field

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

# Syntax

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

    [ObsoleteAttribute("Deprecated. Please use Schema.Field.CheckType(CompleteDataType) instead.")]
    public void CheckType(
    	DataType type
    )

    <ObsoleteAttribute("Deprecated. Please use Schema.Field.CheckType(CompleteDataType) instead.")> _
    Public Sub CheckType ( _
    	type As DataType _
    )

    public:
    [ObsoleteAttribute(L"Deprecated. Please use Schema.Field.CheckType(CompleteDataType) instead.")]
    void CheckType(
    	DataType^ type
    )

#### Parameters

type
  DataType

# Exceptions

Exception | Condition
--- | ---
StreamBase.SB..::..TupleException | Field's DataType and the given DataType don't match

# See Also

Schema..::..Field Class
CheckType Overload
StreamBase.SB Namespace