This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > ID > IDocumentVersion Interface > IDocumentVersion.DocumentVersion Property (ArcObjects .NET 10.5 SDK) |
The version of the document to save.
[Visual Basic .NET] Public Property DocumentVersion As esriArcGISVersion
[C#] public esriArcGISVersion DocumentVersion {get; set;}
[C++]
HRESULT get_DocumentVersion(
esriArcGISVersion* docVersion
);
[C++]
HRESULT put_DocumentVersion(
esriArcGISVersion docVersion
);
[C++]
Parameters docVersion [out, retval]
docVersion is a parameter of type esriArcGISVersion docVersion [in]
docVersion is a parameter of type esriArcGISVersion
Determines which version an object is persisted. This can be useful when saving an object ObjectStream or MemoryBlobStream and you want the version of that object to be compatible with previous releases of ArcGIS. Not all persistable objects implement IDocumentVersion; you should ensure the object supports this interface before accessing this property.