SWbemRefresher.Item method

The SWbemRefresher.Item method returns the specified SWbemRefreshableItem from the collection.

For an explanation of this syntax, see Document Conventions for the Scripting API.

Syntax


objItem = .Item( _
  ByVal lIndex _
)

Parameters

lIndex

Index value of the item in the collection.

Return value

If the call is successful, the specified SWbemRefreshableItem object is returned.

Error codes

If the refresher has no item with the specified index, wbemErrNotFound is generated.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Wbemdisp.h

Type library

Wbemdisp.tlb

DLL

Wbemdisp.dll

CLSID

CLSID_SWbemRefresher

IID

IID_ISWbemRefresher

See also

SWbemRefresher

 

 

Show: