This document is archived and information here might be outdated.  Recommended version.


IFDOGraphicsLayer.SetupAttributeConversion Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IFDOGraphicsLayer.SetupAttributeConversion Method

Sets up attribute conversion parameters for batch conversion.

[Visual Basic .NET]
Public Sub SetupAttributeConversion ( _
    ByVal numAttributes As Integer, _
    ByRef inputCols As Integer, _
    ByRef outputCols As Integer _
)
[C#]
public void SetupAttributeConversion (
    int numAttributes,
    ref int inputCols,
    ref int outputCols
);
[C++]
HRESULT SetupAttributeConversion(
  long numAttributes,
  System.Int32* inputCols,
  System.Int32* outputCols
);
[C++]

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

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.

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

This method cannot be called from Visual Basic, Java, or the .NET languages. Instead, use the SetupAttributeConversion2 interface on IFDOAttributeConversion.

See Also

IFDOGraphicsLayer Interface