ParamKind Enumeration
Collapse the table of content
Expand the table of content

ParamKind Enumeration


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.

Namespace:   Microsoft.VisualStudio.GraphModel.CodeSchema
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

public enum ParamKind

Member nameDescription

Default passing conversion of the parameter, that is, pass-by-value.


This parameter is passed by reference.


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.

Return to top
© 2016 Microsoft