ArcFM Engine Developer Guide
Version Property (ActionData)
Example 


Gets the corresponding version.
Syntax
'Declaration
 
Public Property Version As ESRI.ArcGIS.Geodatabase.IVersion
'Usage
 
Dim instance As ActionData
Dim value As ESRI.ArcGIS.Geodatabase.IVersion
 
instance.Version = value
 
value = instance.Version
public ESRI.ArcGIS.Geodatabase.IVersion Version {get; set;}
Example
This sample shows a use of the Version property to obtain a reference to a workspace, within the implementation of the SubExecute method of an ActionHandler.
protected override bool SubExecute(ActionData actionData, GdbmParameter[] parameters)
{
    IVersion version = actionData.Version;
    if (version != null)
    {
        IWorkspace workspace = (IWorkspace)version;
    
        /* use workspace here */
    }
}
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

ActionData Class
ActionData Members

 

 


Send Comment