MetaVersionedInfoKey Class
The MetaVersionedInfoKey class inherits all the properties from the IMetaInfoKey interface and adds versioning information.
get_ObjectID
Purpose:
Gets the object ID.
Syntax:
HRESULT get_ObjectID(Long *pVal);
get_Name
Purpose:
Gets the object name.
Syntax:
HRESULT get_Name(BSTR *pVal);
get_VersionNumber
Purpose:
Returns the Version number of the object.
Syntax:
HRESULT get_VersionNumber(
[out, retval] long* version);
get_PublishState
Purpose:
Returns the Publish state of the object. See the “MetaInfo Class” on page 353 for information on the MetaPublishState enumeration.
Syntax:
get_PublishState(
[out, retval] MetaPublishState* state);
get_Publish
Purpose:
Returns VARIANT_TRUE if this version of the object if published, else returns VARIANT_FALSE
Syntax:
get_Published(
[out, retval] VARIANT_BOOL* published);
get_Dormant
Purpose:
Returns VARIANT_TRUE if the object’s PublishState is mdsDormant.
Syntax:
get_Dormant(
[out, retval] VARIANT_BOOL* pVal);
get_Frozen
Purpose:
Returns VARIANT_TRUE if the object is frozen.
Syntax:
get_Frozen(
[out, retval] VARIANT_BOOL* published);