GetLongText

Applies to: SharePoint Foundation 2010

Returns a document property of the String data type that is longer than 256 characters in length.

HRESULT GetLongText(
   LPCSTR *pval
);

Parameters

pval

[out] The document property value.

Return Value

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

Remarks

Returns an error if the property is not of the String data type.

For IParserProperty Interface 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 that is pointed to by any output parameters of type LPCSTR.

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

See Also

Reference

IParserProperty Interface

Concepts

Custom Document Parsers

Document Parser Interface Overview