Archived

This forum has been archived. Please start a new discussion on GitHub.

C# ref parameter

I am currently changing my .NET application from .NET remoting to ICE to support interaction with other languages better. My current remoting interface has a method that takes a ref parameter, is this supported in ICE? I've seen the out keyword in the slice documentation, but don't see a way to do ref.

Thanks

Comments

  • mes
    mes California
    Hi Alex,

    Slice does not provide an equivalent to C# ref parameters. In Slice, a parameter is either an in-parameter or an out-parameter.

    Regards,
    Mark
  • mes wrote: »
    Hi Alex,

    Slice does not provide an equivalent to C# ref parameters. In Slice, a parameter is either an in-parameter or an out-parameter.

    Regards,
    Mark

    Mark,

    Thanks for the reply, I'll refactor my code to take this into consideration.

    Thanks!