Monday, March 26, 2012

PageMethos Output parameters

Can i do something like this:?

[WenMethod]
public void Do(int x,out int y)
{
y = 3;
}

and get the 'y' value in my JavaScript?

I've never tried it with that syntax, but I have done:

[WebMethod]

public string Do(int x)

{ return 3;

}


hello.

well, if i recall correctly, output parameter aren't supported yet...

No comments:

Post a Comment