Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property Implement
Message
From
27/01/2007 04:58:51
 
 
To
27/01/2007 01:55:34
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01189848
Message ID:
01189850
Views:
7
Hi,

>What is the equivalent C# code for code below ?
>
>
        Public Property ChildForm() As String Implements IMyChildForm.ChildForm
>            Get
>                Return _ChildForm
>            End Get
>            Set(ByVal value As String)
>                _ChildForm = value
>            End Set
>        End Property
>
My VB's rusty but I think:
       string IMyChildForm.ChildForm
        {
            get { return _ChildForm;}
            set { _ChildForm = value;}
        }
(means you can only access it via an Interface reference?)
HTH,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform