共用方式為


SetObjectListElement method of the BcdObject class

Sets the specified object list element.

Syntax

boolean SetObjectListElement(
  [in] uint32 Type,
  [in] string Ids[]
);

Parameters

Type [in]

The element type. This parameter is one of the ObjectList element types from the following enumerations:

It can also be a custom element type created for your own use.

Ids [in]

An array of object identifiers. Each element is a GUID in string form, surrounded by curly braces.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Namespace
Root\WMI
MOF
Bcd.mof

See also

BcdObjectListElement

BcdObject