Interface IDocumentVersion

Namespace
ESRI.ArcGIS.esriSystem
Assembly
ESRI.Server.System.dll

Provides access to members that control the document version.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("ECC43C55-0148-4EC1-BF87-B9A183C5DC98")]
public interface IDocumentVersion

Remarks

IDocumentVersion determines what version of an object should be saved.  For example, if a new interface was added to an existing object to extend the object's capabilities and the object implements IDocumentVersion, its contents can be saved based on the ArcGIS version.

Properties

DocumentVersion

The version of the document to save.

esriArcGISVersion DocumentVersion { get; set; }

Property Value

esriArcGISVersion

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.