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


IMapDocument.DocumentType Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapDocument Interface > IMapDocument.DocumentType Property
ArcGIS Developer Help

IMapDocument.DocumentType Property

The type of map document currently loaded in the object.

[Visual Basic .NET]
Public ReadOnly Property DocumentType As esriMapDocumentType
[C#]
public esriMapDocumentType DocumentType {get;}
[C++]
HRESULT get_DocumentType(
  esriMapDocumentType* Type
);
[C++]
Parameters
Type [out, retval]

Type is a parameter of type esriMapDocumentType*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns the type of MapDocument that is open.

Remarks

If a map template (*.mxt) is open esriMapDocumentTypeMxd will be returned.

See Also

IMapDocument Interface