ArcFM Engine Developer Guide
Value Method


IMMFieldManager
Any non-zero value returned here will equal true. This method is treated as boolean.
Syntax
'Declaration
 
Function Value( _
   ByVal pFieldManager As IMMFieldManager _
) As Integer
'Usage
 
Dim instance As IMMFieldProperty
Dim pFieldManager As IMMFieldManager
Dim value As Integer
 
value = instance.Value(pFieldManager)

Parameters

pFieldManager
IMMFieldManager

Return Value

Long
Example
The following code sample demonstrates how the IMMFieldProperty::Value method may be implemented.
Visual Basic Copy Code
Private Function IMMFieldProperty_Value(ByVal pFieldManager As Miner.Interop.Framework.IMMFieldManager) As Long

    Dim pApp As IApplication
    Set pApp = New AppRef

    Dim pModeSelector As IMMModeSelector
    Set pModeSelection = pApp.FindExtensionByName("MMPropertiesExt")

    If pModeSelection.Mode = mmPMDesigner Then
        IMMFieldProperty_Value = False
    Else
        IMMFieldProperty_Value = True
    End If
End Function
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

IMMFieldProperty Interface
IMMFieldProperty Members

 

 


Send Comment