Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Testing for NULL objects
Message
De
21/03/2007 12:18:51
 
 
À
21/03/2007 08:07:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01206415
Message ID:
01206626
Vues:
13
>>Gary,
>>It should be:

>>if loObject.Parent = Nothing

>>Cetin


Cetin,

That was my first thought but I get an error:
"Operator '=' is not defined for type 'DotNetForm1' and 'Nothing'."
However IsNothing(loObject.Parent) works great!

Gary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform