Share via


IProfileCollection

Applies To: Windows 8, Windows 8.1

Represents a collection of profiles that the library runs as a unit. The interface provides functions that enable the client to add a profile to the collection, compare a profile to one already in the collection, of remove one or all profiles from the collection.

{
    [id(1), helpstring("Add")] HRESULT Add([in] IProfile* pProfile, [in] VARIANT_BOOL fMerge);
    [id(2), helpstring("Remove")] HRESULT Remove([in] IProfile* pProfile);
    [id(3), helpstring("Clear")] HRESULT Clear();
    [id(4), helpstring("IsEqual")] HRESULT IsEqual([in] IProfileCollection* pProfileCollection);    [id(5), helpstring("LoadIntoXML")] HRESULT LoadIntoXML([out] BSTR* pbstrResults);
};

Functions

The following table describes the functions that this interface provides.

Function Description

Add

Adds a profile to the collection.

Remove

Removes a profile from the collection.

Clear

Clears all profiles from the collection.

IsEqual

Compares two IProfileCollection objects to see whether they have matching profile properties.

LoadIntoXML

See Also

Other Resources

Interfaces