ArcFM Solution Developer Guide
FieldType Property (IMMAttrAUStrategy)


Specifies the type of field upon which this AU will operate. The AU must return a value of this type. The field type specified here should be consistent with the data type returned by the GetAutoValue method.
Syntax
'Declaration
 
<DispIdAttribute(1610678274)>
ReadOnly Property FieldType As ESRI.ArcGIS.Geodatabase.esriFieldType
'Usage
 
Dim instance As IMMAttrAUStrategy
Dim value As ESRI.ArcGIS.Geodatabase.esriFieldType
 
value = instance.FieldType
[DispId(1610678274)]
ESRI.ArcGIS.Geodatabase.esriFieldType FieldType {get;}

Property Value

A value that corresponds to an item in the esriFieldType enumeration (ArcObjects).

Example
This property will bind a custom attribute autoupdater to a distinct field type. ArcFM uses this property to prevent attribute autoupdaters from being associated to incompatible field types. For example, a custom attribute autoupdater that returns a string should never execute for an integer field (esriFieldTypeInteger).
The following code sample demonstrates how the IMMAttrAUStrategy::FieldType property may be implemented.
Visual Basic Copy Code
Private Property Get IMMAttrAUStrategy_FieldType() As esriFieldType
    IMMAttrAUStrategy_FieldType = esriFieldTypeDate
End Property
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

IMMAttrAUStrategy Interface
IMMAttrAUStrategy Members

 

 


Send Comment