Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax question on interfaces
Message
De
19/01/2004 12:21:53
 
 
À
19/01/2004 09:59:12
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00868001
Message ID:
00868183
Vues:
15
>>So I guess I need to re-read my tutorial on interfaces!<

Well, not anymore, because you now you know how they work. <g>

~~Bonnie


>**Simply adding the interface to an already existing class does not automatically add the properties. If you create a new class from scratch, and specify then that it implements an Interface, you'll get some Intellisense that tells you to press TAB and it will fill in the Interfaces properties & methods. **
>
>Bonnie...thanks for responding. I'm a tad confused, because I thought (I guess incorrectly) that creating an interface precluded the need to add the additional properties to each class.
>
>All I'm really doing is adding a few properties to each Winforms control that I've subclassed. I'm writing a generic binding manager, one that will examine these new properties on each control.
>
>I can certainly just add the properties to each of my subclasses, though I thought that merely specifying the interface (which has the new properties) was all I needed to do.
>
>So I guess I need to re-read my tutorial on interfaces!
>
>Thanks,
>Kevin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform