When implemented by a class, retrieves the value of a data item with the specified name in the current block of data.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'宣言
Function GetItem ( _
name As String _
) As Object
'使用
Dim instance As IVsDataReader
Dim name As String
Dim returnValue As Object
returnValue = instance.GetItem(name)
Object GetItem(
string name
)
Object^ GetItem(
String^ name
)
function GetItem(
name : String
) : Object
Parameters
name
Type: System.StringThe name of the data item in the current block to retrieve.
Return Value
Type: System.Object
The string value of the item with the specified name.
Permissions
- 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