From: ray on
Hi All,

I have a DLL created by VB.net with the following function:

Public Shared Function Upload(ByRef thePage As Page) As String

I have no problem calling from a VB.net ASPX page, but having problem
with C# page with the following call:

protected void Page_Init(object sender, EventArgs e)
{
string msg = "";
msg = UploadLIB.Upload(ref Page);
}

Compiler Error Message: CS0206: A property or indexer may not be passed
as an out or ref parameter

Thanks for help.

Ray