Share via


xInfo.importElement Method

Specifies the object to be imported.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          public int importElement(
            int id, 
            int utilfiletype, 
            UtilElementType utiltype, 
            str name, 
            int fileposition, 
            int Flag, 
           [boolean extraPass])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public int importElement(
            int id, 
            int utilfiletype, 
            UtilElementType utiltype, 
            str name, 
            int fileposition, 
            int Flag)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public int importElement(
            int id, 
            int utilfiletype, 
            UtilElementType utiltype, 
            str name, 
            int fileposition, 
            int Flag)

  Microsoft Dynamics AX 2012 (FPK)
          public int importElement(
            int id, 
            int utilfiletype, 
            UtilElementType utiltype, 
            str name, 
            int fileposition, 
            int Flag)

  Microsoft Dynamics AX 2012 (SYS)
          public int importElement(
            int id, 
            int utilfiletype, 
            UtilElementType utiltype, 
            str name, 
            int fileposition, 
            int Flag)

Run On

Called

Parameters

  • utilfiletype
    Type: int
  • name
    Type: str
  • fileposition
    Type: int
  • Flag
    Type: int

Return Value

Type: int
This method is obsolete. Use the SysImportElements class instead.

See Also

Reference

xInfo Class