Share via


WstDataReader.IsDBNull Method

[This is internal Microsoft documentation - Do not distribute.]

Gets a value indicating whether the column contains non-existent or missing values.

Namespace: Microsoft.Webstore.WstClient
Assembly: ICL (in icl.dll)

Syntax

'Declaration

  Public Function IsDBNull ( _
    i As Integer _
) As Boolean
  public bool IsDBNull (
    int i
)

Parameters

  • i
    The zero-based column ordinal

Return Value

true if the specified column value is equivalent to DBNull; otherwise, false.

Remarks

Call this method to check for null column values before calling the typed get methods (for example, GetByte, GetChar, and so on) to avoid raising an error.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

WstDataReader Class
WstDataReader Members
Microsoft.Webstore.WstClient Namespace