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
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdParameter Class
TdParameter Members