Is it good to use ref Parameter with a COM Method in C#
COM
2
Posts
2
Posters
0
Views
1
Watching
-
Using C#, a COM Method uses ref Parameter and it works smoothly, But is it a good principle to use ref Parameters with COM Methods,
madhankum wrote:
Using C#, a COM Method uses ref Parameter and it works smoothly, But is it a good principle to use ref Parameters with COM Methods,
That depends on what type you are referencing. Also, are you calling from C# to COM, or from COM to C#? Either way, is it possible for the data type you are referencing to chang on one side, but not the other? Nathan