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


IDocumentVersion.DocumentVersion Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (System)  

IDocumentVersion.DocumentVersion Property

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 [in]
docVersion is a parameter of type esriArcGISVersion docVersion [out, retval]
docVersion is a parameter of type esriArcGISVersion*

Product Availability

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

Remarks

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.

See Also

IDocumentVersion Interface