Any non-zero value returned here will equal true. This method is treated as boolean.
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 |
|
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.