Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property Implement
Message
De
27/01/2007 04:58:51
 
 
À
27/01/2007 01:55:34
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01189848
Message ID:
01189850
Vues:
8
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform