The MSDN page on ByRef and ByVal keywords isn't very helpful; unless I somehow skipped it, they're simply being referred to as keywords everywhere.One of the main contributors of the Rubberduck project is working on a very cool Encapsulate Field refactoring, and the UI is coming along pretty nicely.. except I have a problem with the label above the dropdown for ByRef/ByVal, which says Accessibility:I don't like Accessibility because I'm using it elsewhere for Public/Private/Friend access modifiers where it feels more accurate.I don't want to use Modifier because IMO it's just a short for access modifier.I'd like that label to be accurate, but my vocabulary is apparently lacking and I don't know what to call these keywords.What should this label say, to be accurate? What's the word I'm looking for? What family of keywords do ByRef/ByVal belong to?
How to refer to ByRef and ByVal in a dropdown label?
naming;ui;vba
In this case, I would use Pass As (or Pass).You have a flow that perfectly matches this usage.Variable name: fooPass as: ByVal   / Pass: ByRefThis fits your workflow perfectly and incidentally is exactly what the article you reference indicates.As you read through your options, it reads perfectly when using 'Pass As' as you can simply read through the heading and select the text appropriately - 'Variable name' foo, 'Pass As' value.  If you wanted to make it slightly read better you could make your list options Value and Reference depending on if your target audience is VBA programmers or non-VBA programmers who may be slightly less familiar with ByVal and ByRef keywords.Or alternatively, change it to Pass: and make it By Reference (ByRef) and By Value (ByVal) in the dropdown. It looks like your dropdown has the space to show all this text. Or just the ByRef/ByVal keywords. 