GetSchemaXml

Applies to: SharePoint Foundation 2010

Returns the list schema of the document library in which the document is currently located.

HRESULT GetSchemaXml(
   LPCSTR *pszXml
);

Parameters

pszXml

[out] The list schema of the document library in which the document is currently located.

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.

Remarks

The method caller should not free or change the memory that the *pszXml parameter points to. This memory is only valid as long as the IParserPropertyBag object is valid.

Returns an error if the document is not located in a list.

See Also

Reference

IParserPropertyBag Interface

Concepts

Custom Document Parsers

Document Parser Interface Overview