Send feedback on this topic.
Teradata.Client.Provider
IsDBNull Method (TdParameter)



Teradata.Client.Provider Namespace > TdParameter Class : IsDBNull Method
IsDBNull() is used to determine whether an OUT or INOUT parameter has a null value
Syntax
'Declaration
 
Public Function IsDBNull() As Boolean
'Usage
 
Dim instance As TdParameter
Dim value As Boolean
 
value = instance.IsDBNull()
public bool IsDBNull()
public:
bool IsDBNull(); 

Return Value

True if the value of the parameter is null, otherwise false.
Exceptions
ExceptionDescription
The parameter is not an output parameter.
Remarks
This function should be called before calling GetValue<T> when attempting to return a type that does not support nulls. [Including String, Stream, TextReader and XmlReader]
Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdParameter Class
TdParameter Members