GridView.IPostBackContainer.GetPostBackOptions(IButtonControl) Méthode
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.
Crée un PostBackOptions objet qui représente le comportement de publication du contrôle bouton spécifié.
virtual System::Web::UI::PostBackOptions ^ System.Web.UI.WebControls.IPostBackContainer.GetPostBackOptions(System::Web::UI::WebControls::IButtonControl ^ buttonControl) = System::Web::UI::WebControls::IPostBackContainer::GetPostBackOptions;
System.Web.UI.PostBackOptions IPostBackContainer.GetPostBackOptions(System.Web.UI.WebControls.IButtonControl buttonControl);
abstract member System.Web.UI.WebControls.IPostBackContainer.GetPostBackOptions : System.Web.UI.WebControls.IButtonControl -> System.Web.UI.PostBackOptions
override this.System.Web.UI.WebControls.IPostBackContainer.GetPostBackOptions : System.Web.UI.WebControls.IButtonControl -> System.Web.UI.PostBackOptions
Function GetPostBackOptions (buttonControl As IButtonControl) As PostBackOptions Implements IPostBackContainer.GetPostBackOptions
Paramètres
- buttonControl
- IButtonControl
Contrôle bouton pour lequel créer le script de rappel.
Retours
Qui PostBackOptions représente le comportement de publication du contrôle de bouton spécifié.
Implémente
Exceptions
Le buttonControl paramètre contient null.
buttonControl provoque la validation et tente de renvoyer au même conteneur qu’il valide.