Share via


IParserProperty.GetName 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.

Returns the name of the document property.

HRESULT GetName(

Parameters

pval

[out] The name of the document property.

Return Value

The IParserProperty 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.

Remarks

The property name returned is decoded, and as such may not match the column name in the content type or list definition XML. To decode the column name from XML encoding, use the IParserPropertyBag.DecodeName Methodmethod.

For IParserProperty Class methods, all output parameters of type LPCSTR are valid only as long as the IParserProperty interface pointer remains valid. The method caller should never change or free the memory pointed to by any output parameters of type LPCSTR.

If you call an IParserProperty.Set<datatype> method, then any previously returned output LCPSTR parameter may no longer be valid.

See Also

Concepts

Custom Document Parsers

Document Parser Interface Overview