Skip to main content

Class VersionInfo

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for VersionInfo. An instance of this class represents information about one version of one document

Inheritance

objectVersionInfo

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

VersionInfo()

Default constructor - defaults any enum props to 0.

Properties

CheckedInByAssociateId

Associate id of the user who performed the checkin

Property Value

int

CheckedInByName

Name (nicely formatted) of the user/person who performed the checkin

Property Value

string

CheckedInDate

The date that this version was checked in and became official

Property Value

DateTime

Description

Arbitrary description string

Property Value

string

DisplayText

A short description, suitable for display in a popup menu or dropdown list of versions.

Property Value

string

DocumentId

The document Id that uniquely identifies the document within the SuperOffice database

Property Value

int

ExternalReference

The document plugin’s key that uniquely identifies a document; stored in the externalReference field of the document table

Property Value

string

ExtraFields

Private metadata, owned by the document plugin. This set of metadata is related directly to the version that this VersioNinfo structure describes; metadata related to the document as a whole is retrieved using the SuperOffice.CRM.Documents.IDocumentPlugin2.LoadMetaData method. The string should be formatted like a query string, i.e., name1=value1&name2=value2… - this format, instead of a string/string dictionary avoids serialization problems, even though it is somewhat less efficient

Property Value

string[]

VersionId

The document plugin’s version id that uniquely identifies one version of a document. If versioning is not supported, this will be blank. When versioning is supported, blank values imply the latest checked-in version.

Property Value

string

See Also

DocumentAgent