Device.GetItem method

Retrieves the specified item.

Syntax

ppResult = .GetItem( _
  ByVal ItemID As BSTR _
) As HRESULT

Parameters

ItemID [in]

Type: BSTR

Required. String value.

Return value

Type: Item**

Returns the Item object specified by ItemID if it exists, otherwise returns Nothing.

Remarks

For example code, see Download New Items as They are Created in Shared Samples.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 R2 [desktop apps only]
Header
Wiaaut.h
IDL
Wiaaut.idl

See also

Reference

ShowItemProperties

ShowTransfer

Device

ExecuteCommand (Device)

OnEvent

Item

ExecuteCommand (Item)

ItemID

Item (Items)