This topic has not yet been rated - Rate this topic

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.

MethodDescription
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.

PropertyAccess typeDescription

Count

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

Wbemdisp.tlb

DLL

Wbemdisp.dll

See also

Scripting API Objects

 

 

Send comments about this topic to Microsoft

Build date: 11/19/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.