ArcObjects Library Reference (Carto)  

IFDOAttributeConversion.SetupAttributeConversion2 Method

Sets up attribute conversion parameters for batch conversion.

[Visual Basic .NET]
Public Sub SetupAttributeConversion2 ( _
    ByVal numAttributes As Integer, _
    ByVal inputCols As Object, _
    ByVal outputCols As Object _
)
[C#]
public void SetupAttributeConversion2 (
    int numAttributes,
    object inputCols,
    object outputCols
);
[C++]
HRESULT SetupAttributeConversion2(
  long numAttributes,
  VARIANT inputCols,
  VARIANT outputCols
);
[C++]

Parameters

numAttributes [in]   numAttributes is a parameter of type long inputCols [in]   inputCols is a parameter of type VARIANT outputCols [in]   outputCols is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

This method takes the number of fields to match, and and two arrays which define the field mapping. These arrays will have the indexes of the fields from the source feature and the indexes of the matching fields in the target annotation feature class.  The inputCols and outputCols input variables should be arrays of 32 bit signed integers.

This method should be called after calling BeginAddElements. BeginAddElements will reset any attribute conversion setup that was established before calling it.

 

[C#]

The inputCols and outputCols input variables should be arrays of 32 bit signed integers.  The .NET help will show these parameters as type System.Object because they are exposed as type Variant in the COM IDL.  System.Array inherits from System.Object, so arrays can be input as the parameters.  Internally the array will be validated to ensure it is an array of 32 bit signed integers.

[Visual Basic .NET]

The inputCols and outputCols input variables should be arrays of 32 bit signed integers.  The .NET help will show these parameters as type System.Object because they are exposed as type Variant in the COM IDL.  System.Array inherits from System.Object, so arrays can be input as the parameters.  Internally the array will be validated to ensure it is an array of 32 bit signed integers.

See Also

IFDOAttributeConversion Interface