c# - Calling method from class issue format input -
hello guys have got method need insert data to. i'm not sure in format have provide input:
as there (string[] dic, out informaceoplatcitype[] statusplatcedph) how should input in getstatusnespolehlivyplatce()
please?
thank much.
with of of came wit this:
string[] ahoj = new string[] { 28156609.tostring() }; rozhranice.statustype[] ahoj2; rozhranice.informaceoplatcitype[] ahoj3; rozhranice.rozhranicrpdph srv = new rozhranice.rozhranicrpdph(); textbox1.text = (srv.getstatusnespolehlivyplatce(ahoj, out ahoj3).tostring());
next issue need return fields:
and when doing (srv.getstatusnespolehlivyplatce(ahoj, out ahoj3).tostring());
i'am able return fields statustype
, how possible think receive informaceoplatcitype
?
for example this:
textbox1.text = (srv.getstatusnespolehlivyplatce(ahoj, out ahoj3).odpovedgenerovana.tostring());
i get: field odpovedgenerovana
statustype
thought calling out informaceoplatcitype
it's telling wants, string array in , informaceofplatcitype array out.
var ahoj = new string[]{ 41354.tostring()}; informaceofplatcitype[] ahoj2; richtextbox1.text = srv.getstatusnespolehlivyplatce(ajoh, out ahoj2);
in addition, don't need cast type string (string) if you're calling tostring() of object in first place.
something along these lines. though since informaceofplatcitype custom type, there may restrictions on requires.
Comments
Post a Comment