GetContentTypeSchemaXml

Applies to: SharePoint Foundation 2010

Returns the content type definition for the document.

HRESULT GetContentTypeSchemaXml(
   LPCSTR *pszXml
);

Parameters

pszXml

[out] The content type definition for the document. The memory is valid only as long as the IParserPropertyBag object is valid.

Return Value

The IParserPropertyBag 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 document has not been assigned a content type.

See Also

Reference

IParserPropertyBag Interface

Concepts

Custom Document Parsers

Document Parser Interface Overview