IVsDataReader.IsNullItem Method (String)
When implemented by a class, indicates whether the value of the given data item 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
‘선언
Function IsNullItem ( _
name As String _
) As Boolean
bool IsNullItem(
string name
)
bool IsNullItem(
String^ name
)
abstract IsNullItem :
name:string -> bool
function IsNullItem(
name : String
) : boolean
Parameters
- name
Type: System.String
The name 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace