This document is archived and information here might be outdated.  Recommended version.


IDocument.Title Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > ID > IDocument Interface > IDocument.Title Property
ArcGIS Developer Help

IDocument.Title Property

The title of this document.

[Visual Basic .NET]
Public ReadOnly Property Title As String
[C#]
public string Title {get;}

Product Availability

Available with ArcGIS Desktop.

Remarks

Title returns the name of the currently loaded document or template. It returns "Untitled" if the document has never been saved. If the document object is the Normal template, Title returns Normal.mxt.

Note that file extension is included with the name (e.g. MyDocument.mxd) if the Windows Explorer Folder Option "Hide extensions for known file types" is unchecked when the document is opened. Otherwise, Title returns the name without the file extension.

See Also

IDocument Interface