Class Properties + null 
Author Message
 Class Properties + null

Public Property Testing as string
Get
return mvalue
End Get
Set (Value as string)
mvalue = value
End Set
End Property

when mvalue is nothing you get an error .... what's the best way to handle
this .... one solution is to
Return "" & mvalue



Mon, 27 Sep 2004 11:27:05 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Set properties of a Class object to null

2. class properties and nulls

3. class string properties in let statements and nulls

4. can't set class string property to null

5. DB Class property causing app to raise error on Null value

6. Set properties of a Class object to null

7. Exposing Properties collection in custom classes as many MS Classes do

8. Exposing a Properties collection in custom classes as many MS Classes do

9. Properties Property for a Custom Class

10. Can a class property have properties?

11. Can a class property have properties?

12. Null Null Null!!!!!!!!!

 

 
Powered by phpBB® Forum Software