ArcFM Desktop Developer Guide
StateEnabled Method (IMMPxApplication)


ID of the state as Long
ID of the node type as Long
Allows a programmer to check if a specific state is enabled or available given the currently selected node and the user's roles. The Process Framework task/subtask framework has made this method obsolete.
Syntax
'Declaration
 
Function StateEnabled( _
   ByVal StateID As Integer, _
   ByVal nodeTypeId As Integer _
) As Boolean
'Usage
 
Dim instance As IMMPxApplication
Dim StateID As Integer
Dim nodeTypeId As Integer
Dim value As Boolean
 
value = instance.StateEnabled(StateID, nodeTypeId)
bool StateEnabled( 
   int StateID,
   int nodeTypeId
)

Parameters

StateID
ID of the state as Long
nodeTypeId
ID of the node type as Long

Return Value

Boolean value indicating whether the state is enabled (True=Enabled, False=Disabled)
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

IMMPxApplication Interface
IMMPxApplication Members

 

 


Send Comment