HttpCapabilitiesBase.JavaScript 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.
Attention
The recommended alternative is the EcmaScriptVersion property. A Major version value greater than or equal to 1 implies JavaScript support. http://go.microsoft.com/fwlink/?linkid=14202
Obtient une valeur indiquant si le navigateur prend en charge JavaScript.
public:
property bool JavaScript { bool get(); };
[System.Obsolete("The recommended alternative is the EcmaScriptVersion property. A Major version value greater than or equal to 1 implies JavaScript support. http://go.microsoft.com/fwlink/?linkid=14202")]
public bool JavaScript { get; }
[<System.Obsolete("The recommended alternative is the EcmaScriptVersion property. A Major version value greater than or equal to 1 implies JavaScript support. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.JavaScript : bool
Public ReadOnly Property JavaScript As Boolean
Valeur de propriété
true si le navigateur prend en charge JavaScript ; sinon, false. La valeur par défaut est false.
- Attributs
Remarques
Si le navigateur prend en charge JavaScript, mais que le script est désactivé par le biais d’un paramètre de sécurité, la JavaScript propriété retourne true , mais le script ne s’exécute pas sur le navigateur.