Compartir a través de


AdomdDataReader.IsDBNull Método

Returns a Boolean that contains a value indicating whether the column is set to null.

Espacio de nombres:  Microsoft.AnalysisServices.AdomdServer
Ensamblado:  msmgdsrv (en msmgdsrv.dll)

Sintaxis

'Declaración
Public Function IsDBNull ( _
    i As Integer _
) As Boolean
'Uso
Dim instance As AdomdDataReader 
Dim i As Integer 
Dim returnValue As Boolean 

returnValue = instance.IsDBNull(i)
public bool IsDBNull(
    int i
)
public:
virtual bool IsDBNull(
    int i
) sealed
abstract IsDBNull : 
        i:int -> bool  
override IsDBNull : 
        i:int -> bool
public final function IsDBNull(
    i : int
) : boolean

Parámetros

  • i
    Tipo: System.Int32
    The zero-based ordinal position of the column to find.

Valor devuelto

Tipo: System.Boolean
A Boolean containing true if the column is set to null; false otherwise.

Implementa

IDataRecord.IsDBNull(Int32)

Comentarios

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

Vea también

Referencia

AdomdDataReader Clase

Espacio de nombres Microsoft.AnalysisServices.AdomdServer