Thiago Prohaska

Thiago Prohaska

  • NA
  • 10
  • 2.1k

ref parameter

Jul 24 2007 1:56 PM
I have a void: 

private void teste(ref ControlCollection controles)

{

}

when i use the void:

teste(ref this.Page.Controls);

it returns the error to follow

Error 14 A property or indexer may not be passed as an out or ref parameter
 

thanks!


Answers (3)