Export (0) Print
Expand All

IExplorerCommandState interface

Exposes a single method that allows retrieval of the command state.

Members

The IExplorerCommandState interface inherits from the IUnknown interface. IExplorerCommandState also has these types of members:

Methods

The IExplorerCommandState interface has these methods.

MethodDescription
GetState

Gets the command state associated with a specified Shell item.

 

Remarks

When to Implement

Implement this interface when you need to determine the command state dynamically (for instance, based on an item's properties). This interface provides the same functionality as IExplorerCommand::GetState, without the overhead of that interface's additional methods. Implement IExplorerCommandState when you only need to compute the command state.

When to Use

Do not call the method of IExplorerCommandState directly. Windows Explorer calls your IExplorerCommandState::GetState implementation when the user wants to perform an action on the item.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

IExplorerCommand::GetState

 

 

Community Additions

ADD
Show:
© 2015 Microsoft