Click to return to the Component Development home page    
IPropertyBag2 Interface     IPropertyBag2::GetPropert...     IPropertyBag2 Interface    
Web Workshop  |  Component Development

IPropertyBag2::CountProperties Method


Retrieves the number of properties in the property bag.

Syntax

 HRESULT CountProperties(
    ULONG *pcProperties 
);

Parameters

pcProperties
[out] Address of a ULONG that receives the number of properties in the property bag.

Return Value

Returns S_OK if the method was successful, or E_POINTER if pcProperties is not valid.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.