Freigeben über


IVsDataReader.IsNullItem Method (Int32)

When implemented by a class, indicates whether the data item at the specified index is unspecified, that is, nulla null reference (Nothing in Visual Basic).

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Function IsNullItem ( _
    index As Integer _
) As Boolean
bool IsNullItem(
    int index
)
bool IsNullItem(
    int index
)
abstract IsNullItem : 
        index:int -> bool 
function IsNullItem(
    index : int
) : boolean

Parameters

  • index
    Type: System.Int32
    Index of the data item to examine.

Return Value

Type: System.Boolean
true if the item is nulla null reference (Nothing in Visual Basic), that is, unspecified; otherwise, false.

Remarks

Calling this method to determine whether a value is nulla null reference (Nothing in Visual Basic) performs better than retrieving the value to determine whether it is equal to Value, because the latter causes the entire value to be read from the data reader instance.

.NET Framework Security

See Also

Reference

IVsDataReader Interface

IsNullItem Overload

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace