ResolveContentType Method
Returns the content type of the specified part.
Syntax
public String resolveContentType();
Remarks
Applies the content type resolution rules specified in the Open XML packaging specification and returns the content type associated with PartName in the archive.
If there's no content type mapped for the part or for the extension, an empty string is returned.