removeDeptXlateItem() Method

Table of Contents

  1. Function
  2. Syntax
  3. Parameters
  4. Return Value
  5. Sample Code
  6. Remarks
  7. Possible Errors
  8. Related Methods

Function

  • Removes a department translate item

Syntax

  • AeXMLBridge.removeDeptXlateItem(UniqueID);

Parameters

  • Integer - Unique ID

Return Value

  • None

Sample Code

C#

1
2
3
4
5
6
7
8
9
10
11
12
string myAlias = "12345";                    // alias number is the EXTID

try
{
TAeDeptXlateItem[] xlateItems = ws.extractDeptXlateItems(myALias);

ws.removeDeptXlateItem(xlateItems[x].ExtID);
}
catch(Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

1
2
3
4
5
6
7
8
Dim myAlias As String = "12345"

Try
Dim xlateItems As TAeDeptXlateItem() = ws.extractDeptXlateItems(myALias)
ws.removeDeptXlateItem(xlateItems(x).ExtID)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try

Remarks

Possible Errors

  • Unique ID number not found

addDeptXlateItem
extractDeptXlateItems
updateDeptXlateItem

Back to Top