Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.