IVersionedObject2 Interface

Provides access to members that manage a versioned object.

Description

The IVersionedObject2 interface is used to determine the current version of an object, to register feature datasets or object classes as versioned, to detect if the objectclass is registered as versioned and if the versioned object class contains any edits that have not been compressed to the base state.

Members

Name Description
Read-only property HasUncompressedEdits Indicates if the object has edits that haven't been compressed yet.
Read-only property IsRegisteredAsVersioned Indicates if the object is registered as versioned.
Method RegisterAsVersioned Register/UnRegister the object as being versioned.
Read-only property Version The object's current version.

IVersionedObject2.HasUncompressedEdits Property

Indicates if the object has edits that haven't been compressed yet.

Public ReadOnly Property HasUncompressedEdits As Boolean
public bool HasUncompressedEdits {get;}

Remarks

The HasUncompressedEdits method returns a boolean value that represents if the dataset contains versioned edits that have not been compressed to the base state.

Knowing if the dataset contains any edits is important prior to unregistering the dataset as versioned.

Inherited Interfaces

Interfaces Description
IVersionedObject Provides access to members that manage a versioned object.

Classes that implement IVersionedObject2

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.