Property

  • Thread starter Thread starter sandy
  • Start date Start date
S

sandy

If you change the value of a property, in an object which
has been passed ByVal, does the property persist after
the call?
 
sandy said:
If you change the value of a property, in an object which
has been passed ByVal, does the property persist after
the call?

If the object is an instance of a reference type, it will persist.
 
Hi Sandy,

Could you show us some code? It sounds as if you need a bit of explanation
about Properties and ByVal, etc. It's difficult to say anything until we know
where you're coming from on this.

Regards,
Fergus
 
¤ If you change the value of a property, in an object which
¤ has been passed ByVal, does the property persist after
¤ the call?

You need to be more specific. Are you asking whether the value of the object property changes with
respect to the calling procedure? Is this an in-process or out-of-process (marshaled) call? What
kind of object are you passing?


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top