Datalogic .NET SDK

DLVersionInfo (Constructor)

 

Syntax

 

    public DLVersionInfo(String sLabel, String sVersion)

 

 

Sub Class                    : DLVersionInfo

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

Constructor.

 

 

Parameters Table

 

Type

Parameter

Description

[in]

String

sLabel

Name of the item for which the version applies.

[in]

String

sVersion

A string containing the version.

 

 

 

 

 

 

 

 

[on error]

 

 

-

 

 

Example

        

       private void btnGetReportedVI_Click(object sender, EventArgs e)

       {

            Device.DLVersionInfo[] dlv = new Device.DLVersionInfo[10];

            dlv = Device.GetReportedVersionsInfo();

 

            for (int i = 0; i < dlv.Length; i++)

            {

                listView1.Items.Add(new ListViewItem(new string[] {

                                    dlv[i].Label, dlv[i].Version }));

            }

       }

 

 

 

 

See Also

Device.GetReportedVersionInfo (Method), Example #023.

 

 

Copyright © Datalogic ADC. All Right Reserved