GetUIDCount Example for C#

//LEADDICOM1 is a DICOM Dataset defined outside this method
private void TestGetUIDCount ( )
{
   int lCount = 0;
   lCount = LEADDICOM1.GetUIDCount();
   MessageBox.Show("There are " + System.Convert.ToString(lCount) + " UID Items.");
}