SWbemPropertySet object
An SWbemPropertySet object is a collection of SWbemProperty objects. You can add items to the collection using the Add method, retrieve items from the collection using the Item method, and remove items from the collection using the Remove method. For more information, see Accessing a Collection. This object cannot be created by the VBScript CreateObject call.
The SWbemProperty objects that make up an SWbemPropertySet collection are used to describe the properties of a single WMI class or instance.
Members
The SWbemPropertySet object has these types of members:
Methods
The SWbemPropertySet object has these methods.
| Method | Description |
|---|---|
| Add |
Adds an SWbemProperty object to the SWbemPropertySet collection. |
| Item |
Gets a named SWbemProperty from the collection. This is the default method for this object. |
| Remove |
Deletes an SWbemProperty object from the collection. |
Properties
The SWbemPropertySet object has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only |
The number of items in the SWbemPropertySet collection. |
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Type library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012