仅在循环结束时输出值 [英] OutPut value only at the End of loop

查看:88
本文介绍了仅在循环结束时输出值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我有以下代码,该代码适用于Biztlak Functoid:

由于参数是由biztalk循环提供的,因此该如何存储?结果为ArrayList;并返回字符串生成器"仅当仅
方法完成处理时;假设循环在1到10之间的范围内




public static System.Collections.ArrayList myList = new System.Collections.ArrayList() ;
公用静态字符串mylisters(字符串bValue)
{//字符串qualfNr = qValue;


myList.Add(belnrNr);
////myList.Add(cCount); (typeof(string))as string []);
返回builder.ToString();
}


FEA

Hi all

I have the code below, which is meant for Biztlak Functoid:

Since the arguments is supplied by a biztalk loop

How can I store the results in the ArrayList; and return the "string builder" only if only the
methods finish processing; that is the loop finishes..  assuming the loop is in the range between 1 and 10




public static System.Collections.ArrayList myList = new System.Collections.ArrayList();
        public static string mylisters(string bValue)
        {
               
            //string qualfNr = qValue;
            string belnrNr = bValue;
            //string cCount = cValue;
           
          
            myList.Add(belnrNr);
            //myList.Add(cCount);
       

            string builder = string.Join(",", myList.ToArray(typeof(string)) as string[]);       
            return builder.ToString();
        }


FEA

推荐答案

您好,
感谢您的信息!不幸的是,当前没有论坛发布您要提问的问题,因此我建议您将问题发布到位于以下位置的BizTalk General之一:http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg = microsoft.public.biztalk.general& mid = e6445a6b-89c2-471d-8f65-4777f5c9ee62

Hello ,
Thank you for your post!  Unfortunately there is not a current forum to post the question you are asking so I would recommend that you post your question to one of the BizTalk General located here:  http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.biztalk.general&mid=e6445a6b-89c2-471d-8f65-4777f5c9ee62

希望有帮助!


这篇关于仅在循环结束时输出值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆