I'm not sure I understood exactly. Maybe an analogy might be like this:
Reports:
I have a few reports that are directly done calling excel.
If excel is not installed user doesn't even see those reports are available. It's noted in documentation.
So probably my answer is class "smart" to expose it if XP or higher:)
Cetin
>Cetin,
>Correct, but I am not having problems assigning a value to the property. That will all be taken care of from a static method. The class will acctually mostly be used in conjunction with a collection object which is returned from that static method I mentioned.
>I quess the question is:
>Should I make the class "smart" and only expose the property if XP or higher or should I assume that the consumer of the class is smart enough to know that the property will only be valid if XP or higher (maybe go as far as throwing exceptions around if the user is trying use is on less than XP)?
>
>Einar
>
>>Einar,
>>Woudln't it be something like:
>>
>>{set {if (winXPorLater) _myField = value; }}
>>
>>Cetin