IParserPropertyBag.GetContentTypeSchemaXml 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 content type definition for the document.

HRESULT GetContentTypeSchemaXml(



[out] The content type definition for the document.

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.


Returns an error if the document has not been assigned a content type.

See Also


IParserPropertyBag Class


Custom Document Parsers

Document Parser Interface Overview