Is attribute also overridable?

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?
 
C

Cor Ligthert[MVP]

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
 
G

Guest

Cor,

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


Peter
 
C

Cor Ligthert[MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top