Home Help Center

C# ref parameter

slide_o_mixslide_o_mix Member Alex EarlOrganization: PersonalProject: Distributed Testing
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

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    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
  • slide_o_mixslide_o_mix Member Alex EarlOrganization: PersonalProject: Distributed Testing
    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!
Sign In or Register to comment.