Forced Property Assignment

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

Guest

I am building a class template that forces the user to override
functions/subs. I need to force the developer to set the value of a property
also but don't know how.

How do I force the developer to set the value of a property as design time?
 
What do you mean "force"? What do you want to happen if the developer does
not set the property?
 
I am writing an application in VB that is creating Excel files from a
dataset. I want the developer to tell the base class whether to use the
column names from the dataset else, by default, not. If the developer
doesn't set the property it will not causing any issues just effecting the
output.
 
Than what do you mean by "force"? Sounds like you just need to set a
default for the property/field.
 
Back
Top