AxHost.OcxState Propriété
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.
Obtient ou définit l’état persistant du contrôle ActiveX.
public:
property System::Windows::Forms::AxHost::State ^ OcxState { System::Windows::Forms::AxHost::State ^ get(); void set(System::Windows::Forms::AxHost::State ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.AxHost.State OcxState { get; set; }
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.AxHost.State? OcxState { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.OcxState : System.Windows.Forms.AxHost.State with get, set
Public Property OcxState As AxHost.State
Valeur de propriété
Qui AxHost.State représente l’état persistant du contrôle ActiveX.
- Attributs
Exceptions
Le contrôle ActiveX est déjà chargé.
Remarques
La valeur de la OcxState propriété est utilisée une fois le contrôle créé, mais avant qu’il ne soit affiché. L’état persistant du contrôle ActiveX sous-jacent est retourné dans le AxHost.State.