Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Component Name
Message
De
17/10/2003 09:54:52
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Component Name
Divers
Thread ID:
00839723
Message ID:
00839723
Vues:
68
I have a component class that inherits from the Component class

My class have a name property.

I use this code posted by Shawn Burke in order to get the name

public readonly property Name () as string
return me.Site.Name
end property

But i get an error at run-time, because the instance of site class.

at design time in the designer if i change the (Name) and the look at the name propery of my class, it returns the name of the component.

Can someone help me please.
Répondre
Fil
Voir

Click here to load this message in the networking platform