SHAKIR SHABBIR
SHAKIR SHABBIR

Reputation: 1295

Map class in Dynamics AX is pass by reference or pass by value

Map class in Dynamics AX 2012 is pass by reference or pass by value?

Upvotes: 1

Views: 1196

Answers (1)

Jan B. Kjeldsen
Jan B. Kjeldsen

Reputation: 18051

All arguments in AX calls are passed by value. Beware that if you pass a record buffer (or map buffer), it is the reference that is passed by value but any field updates will update the buffer directly.

It is possible to call a .Net method by reference using the byref keyword.

Upvotes: 1

Related Questions