IADsPropertyList

The IADsPropertyList interface manages a property list node in a namespace. With this interface, you can enumerate the properties in the list, add and remove properties, or purge the entire list in one step.

When to Implement

Implement this interface only on a custom directory service provider. For information on how this interface is implemented on system-supplied providers, see ADSI System Providers

When to Use

Call the methods of IADsPropertyList to manage properties as discrete entities. To manage individual property attributes and values, use the IADsPropertyEntry interface.

Methods in Vtable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IDispatch Methods Description
GetTypeInfoCount Gets the number of type descriptions.
GetTypeInfo Gets a description of object's programmable interface.
GetIDsOfNames Maps name of method or property to DISPID.
Invoke Calls one of the object's methods or gets/sets one of its properties.

IADsPropertyList Methods Description
get_PropertyCount Gets the number of properties in the property list.
Next Gets the next item in the property list.
Skip Skips a specified number of items in the property list.
Reset Specifies the current item as the first one in the property list..
Add Adds a new property to the end of the list.
Remove Removes a property from the list.
Item Gets a property that is specified by name or by index.
Get/Put PropertyItem Gets/sets the value of a named property.
ResetPropertyItem Resets the value of a named property.
PurgePropertyList Deletes all properties from the list.