IVersionInfo Interface
Provides access to members that supply version information.
Description
The IVersionInfo interface is a read-only collection of methods used to obtain different properties of a version. If you need to set properties of a version, use the IVersioninterface.
Members
Name | Description | |
---|---|---|
![]() |
Access | The version's access permission. |
![]() |
Ancestors | The version's ancestors. |
![]() |
Children | The version's children. |
![]() |
Created | The date and time the version was created. |
![]() |
Description | The version's description. |
![]() |
IsOwner | True if the current connected user is the owner of this version. |
![]() |
Modified | The date and time the version was last modified. |
![]() |
Parent | The version's parent. |
![]() |
VersionName | The version's name. |
IVersionInfo.Access Property
The version's access permission.
Public ReadOnly Property Access As esriVersionAccess
public esriVersionAccess Access {get;}
Remarks
The Accessmethod is used to retrieve a version's permission. The permission can be private, public or protected.
IVersionInfo.Ancestors Property
The version's ancestors.
Public ReadOnly Property Ancestors As IEnumVersionInfo
public IEnumVersionInfo Ancestors {get;}
Remarks
The Ancestorsmethod is used to retrieve an IEnumVersionInfoenumeration of all the version's that are in the ancestral lineage for the current version. For example, the parent version, the grandparent version, etc. all the way back to the default version. The IEnumVersionInfoenumeration is then used to obtain an IVersionInfoobject for each version.
IVersionInfo.Children Property
The version's children.
Public ReadOnly Property Children As IEnumVersionInfo
public IEnumVersionInfo Children {get;}
Remarks
The Childrenmethod is used to retrieve an IEnumVersionInfoenumeration of all the version's that were created from the current version. The IEnumVersionInfoenumeration is then used to obtain an IVersionInfoobject for the child version.
IVersionInfo.Created Property
The date and time the version was created.
Public ReadOnly Property Created As Object
public object Created {get;}
Remarks
The Createdmethod is used to retrieve the date when the version was created.
IVersionInfo.Description Property
The version's description.
Public ReadOnly Property Description As String
public string Description {get;}
Remarks
The Descriptionmethod is used to retrieve a version's description.
IVersionInfo.IsOwner Method
True if the current connected user is the owner of this version.
Public Function IsOwner ( _
) As Boolean
public bool IsOwner (
);
Remarks
The IsOwnermethod is used to retrieve a boolean value to determine if the currently connected user owns the version.
IVersionInfo.Modified Property
The date and time the version was last modified.
Public ReadOnly Property Modified As Object
public object Modified {get;}
Remarks
The Modifiedmethod is used to retrieve the date when the version was last modified.
IVersionInfo.Parent Property
The version's parent.
Public ReadOnly Property Parent As IVersionInfo
public IVersionInfo Parent {get;}
Remarks
The Parentmethod is used to retrieve the version's parent version properties.
IVersionInfo.VersionName Property
The version's name.
Public ReadOnly Property VersionName As String
public string VersionName {get;}
Remarks
The VersionNamemethod is used to retrieve a version's name. The name will be qualified with the owner of the version. For example, for a version called "MyWorkOrder" owned by the user "GIS", VersionName will return "GIS.MyWorkOrder"
Classes that implement IVersionInfo
Classes | Description |
---|---|
VersionInfo | VersionInfo Object. |