I have an out parameter.
Is it possible to transfer it as reflection?
Can you give me some examples how to do that?
I have an out parameter. Is it possible to transfer it as reflection? Can
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not sure what this has to do with VS extensibility, but it’s certainly possible to invoke a method with an
outparameter by reflection and find out theoutparameter’s value afterwards:Note how you need to keep a reference to the array used to pass arguments to the method – that’s how you get the
outparameter value afterwards. The same is true forref.