Partager via


Properties Collection object

The Properties object is a collection of Property objects.

Members

The Properties Collection object has these types of members:

Methods

The Properties Collection object has these methods.

Method Description
Item Retrieves a Property object by name.
Remove Removes the named Property object from the collection.

Properties

The Properties Collection object has these properties.

Property Description
Count
Retrieves the number of Property objects in the collection.

Examples

The Properties collection supports the "For Each" enumeration syntax, as shown in the following example.

Dim objProp As MMC20.Property
' objProps is a Properties collection.
For Each objProp In objProps
    ' Use the Property object.
    MsgBox (objProp.Name)
Next

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
MmcNdMgr.dll
IID
IID_Properties is defined as 2886ABC2-A425-42b2-91C6-E25C0E04581C

See also

Property object