Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Compare two objects?
Message
De
21/08/2006 14:34:03
 
 
À
21/08/2006 14:05:17
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01147379
Message ID:
01147387
Vues:
20
Hi,


>I have a form that implements an Interface (IDataForm)
>In one of my command button class's I want to know if the form its on derives from this interface.
>
>loForm as Form
>loForm = me.getform()
>
>How do I check to see if loForm is IDataForm?
Pretty much like that. i.e.:
 if (loForm is IDataForm)
  {}
HTH,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform