ImageGear23.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecModuleCollection Class > Item Property : Item(ImGearRecModule) Property |
'Declaration Public Overloads ReadOnly Property Item( _ ByVal index As ImGearRecModule _ ) As ImGearRecModuleSettings
'Usage Dim instance As ImGearRecModuleCollection Dim index As ImGearRecModule Dim value As ImGearRecModuleSettings value = instance.Item(index)
public ImGearRecModuleSettings Item( ImGearRecModule index ) {get;}
public: __property ImGearRecModuleSettings* get_Item( ImGearRecModule index );
public: property ImGearRecModuleSettings^ Item { ImGearRecModuleSettings^ get(ImGearRecModule index); }
string moduleList = ""; int i; for (i = 0; i < igRecognition.Modules.Count; i++) { ImGearRecModuleSettings module = igRecognition.Modules[i]; moduleList += module.Name + "\r\n"; ImGearRecModule Id = module.ID; moduleList += "igRecognition.Modules[" + "ImGearRecModule." + Id.ToString() + "].Version = " + igRecognition.Modules[Id].Version + "\r\n"; } System.Console.WriteLine(moduleList);
Dim moduleList As String = "" Dim i As Integer i = 0 While i < igRecognition.Modules.Count Dim [module] As ImGearRecModuleSettings = igRecognition.Modules(i) moduleList += [module].Name + vbCr & vbLf Dim Id As ImGearRecModule = [module].ID moduleList += "igRecognition.Modules[" + "ImGearRecModule." + Id.ToString() + "].Version = " + _ igRecognition.Modules(Id).Version.ToString() + vbCr & vbLf System.Math.Max(System.Threading.Interlocked.Increment(i), i - 1) End While System.Console.WriteLine(moduleList)