Knowledgebase: > Properties
UnitByIndex
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 25 August 2020 11:06 AM

Syntax

 Readonly Property UnitByIndex (ByRef Index As Integer) As VertexFXBOAPI.COAmountUnit

Description

This property is used to return an object of COAmountUnit by provided index of the unit in amount unit list over the symbol settings.

Parameters

Parameter Description 
Index Index of the units on the amount unit list, value of type is Integer.

Return value

Returns an object  of COAmountUnit.

Sample

 Public WithEvents BOAPI As CVertexFXBOAPI

Private Sub Unit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Unit.Click

   Dim Unit As COAmountUnit = BOAPI.UnitByIndex(1)

    msgBox("Unit ID " & Unit.ID & "Unit Discription " & Unit.Description)

 End Sub

See Also


VertexFX Backoffice API Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions