ArcFM Responder Mobile 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;}
public read-write property Version: ESRI.ArcGIS.Geodatabase.IVersion; 
public function get,set Version : ESRI.ArcGIS.Geodatabase.IVersion
public: __property ESRI.ArcGIS.Geodatabase.IVersion* get_Version();
public: __property void set_Version( 
   ESRI.ArcGIS.Geodatabase.IVersion* value
);
public:
property ESRI.ArcGIS.Geodatabase.IVersion^ Version {
   ESRI.ArcGIS.Geodatabase.IVersion^ get();
   void set (    ESRI.ArcGIS.Geodatabase.IVersion^ value);
}
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ActionData Class
ActionData Members

Send Feedback