IParserPropertyBag.ProcessLink 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 correct value for a document property that is a Windows SharePoint Services link.

HRESULT ProcessLink(

Parameters

val

[in] The current value of the document property that is a Windows SharePoint Services link.

pval

[out] The correct value of the document property that is a Windows SharePoint Services link.

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.

Remarks

If the value of pval differs from the value of val, the custom parser should update the property in the document to the value of *pval.

The method caller should not change or free the memory pointed to by *pval. The *pval parameter is only valid until the next time the ProcessLink method is called.

Windows SharePoint Services stores the links in a specific document in an ordered list. Therefore, for a specific document, the parser must always call the ProcessLink method the same number of times, and in the same order, as long as the document content has not changed.

See Also

Reference

IParserPropertyBag Class

Concepts

Custom Document Parsers

Document Parser Interface Overview