ItemByName for Document
The syntax is as follows:
Document Doc = (Document)m_Inventor.Documents.ItemByName (sFullDocName) ;
You need that cast to (Document).