System.Object
Eplan.EplApi.EServices.PrjMessagesEnumerator
System.Object
Eplan.EplApi.EServices.PrjMessagesEnumerator
Check oCheck = new Check(); oCheck.VerifyProject(oProject); PrjMessagesCollection colPrjMsg = new PrjMessagesCollection(oProject); PrjMessagesEnumerator itPrjMsg = colPrjMsg.GetPrjMsgEnumerator(); itPrjMsg.MoveNext(); int nNr=0; do { ProjectMessage oPrjMsg = itPrjMsg.Current as ProjectMessage; if (oPrjMsg != null) { nNr++; } } while(itPrjMsg.MoveNext());
Name | Description | |
---|---|---|
PrjMessagesEnumerator Constructor | Default constructor |
Name | Description | |
---|---|---|
Current | gets the current element in Eplan::EplApi::EServices: | |
CurrentProjectMessage | gets the current element in Eplan::EplApi::EServices: |
Name | Description | |
---|---|---|
Dispose | ||
MoveNext | Advances the enumerator to the next element of Eplan::EplApi::EServices: | |
Reset | Sets the enumerator to its initial position, which is before the first element in Eplan::EplApi::EServices: | |
SetProject | initializes the enumerator for iterating over the project messages collection |