IConsoleNameSpace::SetItem

[This is preliminary documentation and subject to change.]

Enables the snap-in to set a single scope-view item.

HRESULT SetItem(
  LPSCOPEDATAITEM item  // Pointer to a structure with item 
                        // information
);
 

Parameters

item
[in] Pointer to a SCOPEDATAITEM structure containing information about the item to be set in the scope pane.

Return Values

S_OK
The item was successfully set.
E_UNEXPECTED
An unexpected error occurred.
E_INVALIDARG
The item parameter may be NULL, or the ID member of the SCOPEDATAITEM structure is NULL.
E_OUTOFMEMORY
The operation could not be completed due to lack of memory.

See Also

IConsoleNameSpace