IBandSite::RemoveBand method (shobjidl_core.h)

Removes a band from the band site.

Syntax

HRESULT RemoveBand(
  [in] DWORD dwBandID
);

Parameters

[in] dwBandID

Type: DWORD

The ID of the band to remove.

Return value

Type: HRESULT

Returns S_OK if successful, or a COM-defined error code otherwise.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shldisp.h)
DLL Shell32.dll (version 4.71 or later)

See also

IBandSite

IDeskBand