public void Next( System.UInt32 celt, DEBUG_PROPERTY_INFO [] rgelt, out System.Int32 pceltFetched) { pceltFetched = 0; if (rgelt == null) { rgelt = new DEBUG_PROPERTY_INFO[celt]; } for (ulong i = 0; i < celt; i++) { IDebugProperty debugProperty = null; debugProperty = this.enumDebugProperty.Current; if (null != debugProperty) { CDebugProperty prop = new CDebugProperty(debugProperty); if (null != prop) { prop.GetPropertyInfo(this.dwFields, this.dwRadix, this.timeout, null, 0, out rgelt[i]); } } pceltFetched++; bool success = false; success = this.enumDebugProperty.MoveNext(); if (success == false && i < celt - 1) { break; } } }
public void Next( System.UInt32 celt, DEBUG_PROPERTY_INFO []rgelt, out System.Int32 pceltFetched) { pceltFetched = 0; if (rgelt == null) rgelt = new DEBUG_PROPERTY_INFO[celt]; for (ulong i = 0; i < celt; i++){ IDebugProperty debugProperty = null; debugProperty = this.enumDebugProperty.Current; if (null != debugProperty) { CDebugProperty prop = new CDebugProperty(debugProperty); if (null != prop){ prop.GetPropertyInfo(this.dwFields, this.dwRadix, this.timeout, null, 0, out rgelt[i]); } } pceltFetched++; bool success = false; success = this.enumDebugProperty.MoveNext(); if (success == false && i < celt-1) { break; } } }