Compartilhar via


Método IsNull

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

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (em Microsoft.SqlServer.PipelineHost.dll)

Sintaxe

'Declaração
Public Function IsNull ( _
    columnIndex As Integer _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean
true if the column contains nullNothingnullptrunituma referência nula (Nothing no Visual Basic); otherwise, false.

Comentários

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 uma referência nula (Nothing no Visual Basic) .