I was wondering if it was possible to determine if a parameter in a method was a this object me type of parameter based off of ParameterInfo? I know you can is if IsOut and IsRef etc.
Thanks.
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.
Can’t seem to figure out a way to look into the specific
ParameterInfoto see if it’s athis object mekind of parameter, but this works for the whole method, and as far as I’ve tested it would seem I can assume the first parameter is athis object meparameter.