Metodo IsNull

Checks to see if the data in a buffer column is null.

Spazio dei nomi:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

Sintassi

'Dichiarazione
Public Function IsNull ( _
    columnIndex As Integer _
) As Boolean
'Utilizzo
Dim instance As PipelineBuffer
Dim columnIndex As Integer
Dim returnValue As Boolean

returnValue = instance.IsNull(columnIndex)
public bool IsNull(
    int columnIndex
)
public:
bool IsNull(
    int columnIndex
)
member IsNull : 
        columnIndex:int -> bool 
public function IsNull(
    columnIndex : int
) : boolean

Parametri

Valore restituito

Tipo: System. . :: . .Boolean
true if the column contains nullNothingnullptrunitriferimento Null (Nothing in Visual Basic).; otherwise, false.

Osservazioni

It is recommended that you call the IsNull method prior to calling a data type accessor method, such as GetBoolean, because the PipelineBuffer will produce a ColumnIsNullException if the column is null Nothing nullptr unit riferimento Null (Nothing in Visual Basic). .