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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement