Click to return to the Component Development home page    
IPersistPropertyBag Inter...     IPersistPropertyBag::Load...     Component Interface Refer...    
Web Workshop  |  Component Development

IPersistPropertyBag::InitNew Method


Informs the object that it is being initialized as a newly created object.

Syntax

HRESULT InitNew(void);

Return Value

Returns one of the following values:

S_OK The object successfully initialized itself.
E_UNEXPECTED This member was called after IPersistPropertyBag::Load or IPersistPropertyBag::Save.

Remarks

E_NOTIMPL should not be returned. Return S_OK even if the object does not perform any function in this method.



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.