[Mono-devel-list] calling indexer from aspx page written in VB

Rafael Teixeira monoman at gmail.com
Mon Aug 1 18:13:56 EDT 2005


Hi Bobby,

Item is the indexer (default Property) for the class so you CAN omit
it, but I'm not sure why it's not accepting to be explictily called.
Could you fill a bugzilla case about it to organize our search of a
solution.

Thank you

On 8/1/05, Bobby Beckmann <bobby at optaros.com> wrote:
> Hi,
> 
> I'm trying to port a vb.net asp app over to mono and my first head
> scratcher is why can't I have a line that says:
> 
> <?= Session.Item("Test") ?>
> 
> in my code. The error I get is
> "error BC30390: 'System.Web.SessionState.HttpSessionState.Item' is
> inaccessible because of its protection level"
> 
> I've searched the bug dbs and google, but haven't found anything
> relevant. It does work when I remove the .Item and just do
> Session("Test"). Is this a compiler issue or a runtime issue? I
> appreciate any help.
> 
> Thanks,
> Bobby
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 


-- 
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes. 
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!



More information about the Mono-devel-list mailing list