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
 
<System.Runtime.InteropServices.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
[System.Runtime.InteropServices.DispId(1610678274)]
ESRI.ArcGIS.Geodatabase.esriFieldType FieldType {get;}
read-only property FieldType: ESRI.ArcGIS.Geodatabase.esriFieldType; 
System.Runtime.InteropServices.DispIdAttribute(1610678274)
function get FieldType : ESRI.ArcGIS.Geodatabase.esriFieldType
[System.Runtime.InteropServices.DispId(1610678274)]
__property ESRI.ArcGIS.Geodatabase.esriFieldType get_FieldType();
[System.Runtime.InteropServices.DispId(1610678274)]
property ESRI.ArcGIS.Geodatabase.esriFieldType FieldType {
   ESRI.ArcGIS.Geodatabase.esriFieldType 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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IMMAttrAUStrategy Interface
IMMAttrAUStrategy Members

Send Feedback