This document is archived and information here might be outdated. Recommended version. |
The map document filename that the MapDocument coclass is linked to.
[Visual Basic .NET] Public ReadOnly Property DocumentFilename As String
[C#] public string DocumentFilename {get;}
[C++]
HRESULT get_DocumentFilename(
System.String* sDocument
);
[C++]
Parameters sDocument [out, retval]
sDocument is a parameter of type BSTR*
Returns the DocumentFilename of the last map document that was successfully opened with the Open method. An empty string will be returned if no document has been opened.