다음을 통해 공유


IsNull 메서드

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

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline
어셈블리:  Microsoft.SqlServer.PipelineHost.dll의 Microsoft.SqlServer.PipelineHost

구문

‘선언
Public Function IsNull ( _
    columnIndex As Integer _
) As Boolean
‘사용 방법
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

매개 변수

반환 값

형식: System. . :: . .Boolean
true if the column contains nullNothingnullptrunitnull 참조(Visual Basic에서는 Nothing); otherwise, false.

주의

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 null 참조(Visual Basic에서는 Nothing) .