ArcFM Mobile Developer Guide
GetSingleFieldByModelName Method


Version: 10.2.1a

Resource Center Home

The model name to use.
TRUE - If more than 1 field with the given model name is found, will throw an error. FALSE - If more than 1 field with the given model name is found, returns the first value found.
Get a field based on a model name, case insensitive.
Syntax
'Declaration
 
Public Function GetSingleFieldByModelName( _
   ByVal modelName As String, _
   ByVal errorIfMultiple As Boolean _
) As TaskFieldViewModel
'Usage
 
Dim instance As TaskViewModel
Dim modelName As String
Dim errorIfMultiple As Boolean
Dim value As TaskFieldViewModel
 
value = instance.GetSingleFieldByModelName(modelName, errorIfMultiple)
public TaskFieldViewModel GetSingleFieldByModelName( 
   string modelName,
   bool errorIfMultiple
)

Parameters

modelName
The model name to use.
errorIfMultiple
TRUE - If more than 1 field with the given model name is found, will throw an error. FALSE - If more than 1 field with the given model name is found, returns the first value found.
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

TaskViewModel Class
TaskViewModel Members

 

 


Send Comment