Share via


IParserPropertyBag.NewProp Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Creates a new document property in the property bag, or overwrites an existing property.

HRESULT NewProp(

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 Class methods return typical HRESULT values. In general, the method should return a positive OK value when successful or a negative FAIL value when unsuccessful.

See Also

Reference

IParserPropertyBag Class

Concepts

Custom Document Parsers

Document Parser Interface Overview