IsNull méthode
Checks to see if the data in a buffer column is null.
Espace de noms : Microsoft.SqlServer.Dts.Pipeline
Assembly : Microsoft.SqlServer.PipelineHost (dans Microsoft.SqlServer.PipelineHost.dll)
Syntaxe
'Déclaration
Public Function IsNull ( _
columnIndex As Integer _
) As Boolean
'Utilisation
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
Paramètres
- columnIndex
Type : System. . :: . .Int32
The index of the column in the buffer row.
Valeur de retour
Type : System. . :: . .Boolean
true if the column contains nullNothingnullptrunitune référence Null (Nothing dans Visual Basic); otherwise, false.
Notes
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 une référence Null (Nothing dans Visual Basic) .
Voir aussi