Charles, the more important distinction is whether or not the parameter is a
value type or a refernce type. B/c if it's a reference type, even if you
pass it by value, you're passing a reference which can be changed.
"Charles Law" <bl***@nowhere.com> wrote in message
news:uE**************@TK2MSFTNGP09.phx.gbl...
Using the DTE code model, I can get a CodeParameter object for each
parameter to a given function. But how do I know whether it is a ByRef or
ByVal parameter? There doesn't appear to be any property of the
CodeParameter object that indicates this.
TIA
Charles