Top "Byref" questions

Access VBA - Changing TextBox value from within a function (ByRef)

I'm trying to write a sub that will get two parameters - a textbox in a form and a text. …

function vba textbox byref
ByRef vs ByVal Clarification

I'm just starting on a class to handle client connections to a TCP server. Here is the code I've written …

vb.net byref byval
How to 'do' ByVal in C#

As I understand it, C# passes parameters into methods by reference. In VB.NET, you can specify this with ByVal …

c# vb.net byref byval
Why is it not necessary to indicate ByVal/ByRef anymore?

I just installed Visual Studio 2010 Service pack (proposed on Windows Update), and I can see a new feature on the "…

vb.net visual-studio-2010 byref byval
VBA - Returning array from Property Get

If arrays are returned by reference, why doesn't the following work: 'Class1 class module Private v() As Double Public Property …

arrays class vba return-value byref
Return object from PowerShell using a parameter ("By Reference" parameter)?

I have one PowerShell (2.0) script calling another. I want to receive back not only the main output, but an additional …

powershell parameters scope byref
Pass PHP Class as Parameter

How can i pass a class as a parameter in my function So far i've tried $sc = new SampleClass(); SampleFunction($…

php class parameters byref
Best Practice: ByRef or ByVal? in .Net

What are the things to consider when choosing between ByRef and ByVal. I understand the difference between the two but …

.net byref byval
ByRef vs ByVal performance when passing strings

Reading Which is faster? ByVal or ByRef? made me wonder whether the comments in there did apply to Strings in …

vb.net performance string byref byval
Doesn't C# Extension Methods allow passing parameters by reference?

Is it really impossible to create an extension method in C# where the instance is passed as a reference? Here’…

c# vb.net extension-methods byref