MapDocument.filename

Null if not yet saved, otherwise name of the target file

class MapDocument
string filename;

Meta