Is attribute also overridable?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm learning about overriding. My understanding is that I can override
methods and properties of a class by inheriting that class. Does it include
attribute?
 
Peter,

What is in your words an attribute. (We are talking about the VB language
code part). A class has members, which are methods, properties and events.

The word attribute is used in my idea in many situations, I assume that you
are not talking about the general behaviour of a class?

Cor
 
Cor,

You're right that the word attribute is too vague. I'm referring to the
declarative tag <>.


Peter
 
Peter,

A declarative tag says something about a class, so I would not know why you
cannot set the behaviour of a new class. However that is not ending. Of
course you can not make a non overridable class with that overridable.

Just try it.

Cor
 
Back
Top