ActiveDelegate<T> Délégué
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Un délégué pour tester un état de formulaire afin de voir si une étape particulière est active.
public delegate bool ActiveDelegate<T>(T state);
type ActiveDelegate<'T> = delegate of 'T -> bool
Public Delegate Function ActiveDelegate(Of T)(state As T) As Boolean
Paramètres de type
- T
Type d’état de forme.
Paramètres
- state
- T
Forme l’état pour tester.
Valeur renvoyée
Vrai si step est actif étant donné l’état actuel de la forme.