Datapolis Process System SDK

Search:

Contents
:
IndexBookmarkPrint
Home > WBInterface > Methods > GetWBItemInfo

GetWBItemInfo

 

 

Function returns WBItemInfo type, if you want to know all members of this class check Class Reference.

try
{
    WBInterfaceWebService.WBInterfaceSoapClient client = CreateSoapClient();
 
    WBItemInfo wbItemInfo = client.GetWBItemInfo("listUrl", int.Parse("itemID"));
 
    if (wbItemInfo != null)
    {
        //some code
    }
    else
    {
        MessageBox.Show(this, "List or item cannot be found. Make sure you typed list address correctly and item with given ID exists on that list.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
    }
}
catch (Exception exc)
{
    MessageBox.Show(this, exc.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}