Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proper way to turn a property to nothing
Message
 
 
To
13/05/2008 20:12:13
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01316862
Message ID:
01317032
Views:
11
>I have a property that is initialized to something. What is the proper way to turn it back to nothing so if I would check for this:
>
>
>If Not oHeader Is Nothing Then
>    ...
>End If
>
>
>It would work.

In C# it's Property = null;

I would guess in VB would be something like VB.Null ;
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform