NewProp
Applies to: SharePoint Foundation 2010
Creates a new document property in the property bag, or overwrites an existing property.
HRESULT NewProp(
LPCSTR szName,
IParserProperty **ppiprop
);
Parameters
szName
[in] The name of the document property to add to the property bag.
ppiprop
[out] The new document property.
Return Value
The IParserPropertyBag Interface methods return typical HRESULT values. In general, the method should return a positive OK value when successful or a negative FAIL value when unsuccessful.