ParamKind Enumeration
Visual Studio 2015
ParamKind enumeration is used in constructing type GraphNodeIds used in method/property OverloadingParameters.
The CLR spec allows for overloading methods differ by parameter passing (by value vs. by ref), return type, and vararg. Therefore, having the parameter types alone is not enough to distinguish all overloaded methods, and the ParamKind enumeration is used to additionally distinguish them.
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
| Member name | Description | |
|---|---|---|
| Default | Default passing conversion of the parameter, that is, pass-by-value. | |
| Ref | This parameter is passed by reference. | |
| Return | Sometimes we'll add the return type of a method into its OverloadingParameters list to guarantee uniqueness of the method ID. In such cases, we'll mark these special parameters as Return. |
Show: