getStringVar() публичный Метод

public getStringVar ( ) : string
Результат string
Пример #1
0
 public string testSendParamObject(ParamObject param)
 {
     return param.getStringVar();
 }
Пример #2
0
        public ParamObject testParamObject(ParamObject param)
        {
            ParamObject result = new ParamObject();
            Hashtable test = new Hashtable();
            if(param==null)
            {
                result = new ParamObject();
                result.setStringVar("ParamObject was empty");
                test.Add("Message", "No Message");
            }
            else
            {
                result.setStringVar("ParamObject was not empty");
                test.Add("Message", (param.getStringVar()!=null) ? param.getStringVar():"No Message");
            }
            result.setHashVar(test);

            return result;
        }