GlobalObject Classe
Definizione
Archivia costanti, informazioni sul tipo di dati, funzioni di utilità e riferimenti a oggetti basati su prototipi.Stores constants, data type information, utility functions, and references to prototype-based objects. La classe appartiene alla categoria del modello a oggetti incorporata.This class belongs to the built-in object model category.
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.
public ref class GlobalObject
public class GlobalObject
type GlobalObject = class
Public Class GlobalObject
- Ereditarietà
-
GlobalObject
- Derivato
Campi
Infinity |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Rappresenta l'infinito positivo.Represents positive infinity. Questo campo è costante.This field is constant. |
NaN |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Rappresenta un valore che non è un numero (NaN).Represents a value that is not a number (NaN). Questo campo è costante.This field is constant. |
originalActiveXObjectField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto ActiveXObjectConstructor.Stores a reference to an ActiveXObjectConstructor object. |
originalArrayField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto ArrayConstructor.Stores a reference to an ArrayConstructor object. |
originalBooleanField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto BooleanConstructor.Stores a reference to a BooleanConstructor object. |
originalDateField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto DateConstructor.Stores a reference to a DateConstructor object. |
originalEnumeratorField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto EnumeratorConstructor.Stores a reference to an EnumeratorConstructor object. |
originalErrorField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto ErrorConstructor.Stores a reference to an ErrorConstructor object. |
originalEvalErrorField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto ErrorConstructor.Stores a reference to an ErrorConstructor object. L'oggetto viene inizializzato come EvalError.The object is initialized as an EvalError. |
originalFunctionField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto FunctionConstructor.Stores a reference to a FunctionConstructor object. |
originalNumberField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto NumberConstructor.Stores a reference to a NumberConstructor object. |
originalObjectField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto ObjectConstructor.Stores a reference to an ObjectConstructor object. |
originalObjectPrototypeField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto ObjectPrototype.Stores a reference to an ObjectPrototype object. |
originalRangeErrorField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto ErrorConstructor.Stores a reference to an ErrorConstructor object. L'oggetto viene inizializzato come RangeError.The object is initialized as a RangeError. |
originalReferenceErrorField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto ErrorConstructor.Stores a reference to an ErrorConstructor object. L'oggetto viene inizializzato come ReferenceError.The object is initialized as a ReferenceError. |
originalRegExpField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto RegExpConstructor.Stores a reference to a RegExpConstructor object. |
originalStringField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto StringConstructor.Stores a reference to a StringConstructor object. |
originalSyntaxErrorField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto ErrorConstructor.Stores a reference to an ErrorConstructor object. L'oggetto viene inizializzato come SyntaxError.The object is initialized as a SyntaxError. |
originalTypeErrorField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto ErrorConstructor.Stores a reference to an ErrorConstructor object. L'oggetto viene inizializzato come TypeError.The object is initialized as a TypeError. |
originalURIErrorField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto ErrorConstructor.Stores a reference to an ErrorConstructor object. L'oggetto viene inizializzato come URIError.The object is initialized as a URIError. |
originalVBArrayField |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento a un oggetto VBArrayConstructor.Stores a reference to a VBArrayConstructor object. |
undefined |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Rappresenta un valore null.Represents a value that is null. |
Proprietà
ActiveXObject |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto ActiveXObjectConstructor.Gets a reference to an ActiveXObjectConstructor object. |
Array |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto ArrayConstructor.Gets a reference to an ArrayConstructor object. |
boolean |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo gestito che corrisponde al tipo di dati |
Boolean |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto BooleanConstructor.Gets a reference to a BooleanConstructor object. |
byte |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo gestito che corrisponde al tipo di dati |
char |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo gestito che corrisponde al tipo di dati |
Date |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto DateConstructor.Gets a reference to a DateConstructor object. |
decimal |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo gestito che corrisponde al tipo di dati |
double |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo gestito che corrisponde al tipo di dati |
Enumerator |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto EnumeratorConstructor.Gets a reference to an EnumeratorConstructor object. |
Error |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto ErrorConstructor.Gets a reference to an ErrorConstructor object. |
EvalError |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto ErrorConstructor.Gets a reference to an ErrorConstructor object. L'oggetto viene inizializzato come EvalError.The object is initialized as an EvalError. |
float |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo gestito che corrisponde al tipo di dati |
Function |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto FunctionConstructor.Gets a reference to a FunctionConstructor object. |
int |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo gestito che corrisponde al tipo di dati |
long |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo gestito che corrisponde al tipo di dati |
Math |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto MathObject.Gets a reference to a MathObject object. |
Number |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto NumberConstructor.Gets a reference to a NumberConstructor object. |
Object |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto ObjectConstructor.Gets a reference to an ObjectConstructor object. |
RangeError |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto ErrorConstructor.Gets a reference to an ErrorConstructor object. L'oggetto viene inizializzato come RangeError.The object is initialized as a RangeError. |
ReferenceError |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto ErrorConstructor.Gets a reference to an ErrorConstructor object. L'oggetto viene inizializzato come ReferenceError.The object is initialized as a ReferenceError. |
RegExp |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto RegExpConstructor.Gets a reference to a RegExpConstructor object. |
sbyte |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo gestito che corrisponde al tipo di dati |
short |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo gestito che corrisponde al tipo di dati |
String |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto StringConstructor.Gets a reference to a StringConstructor object. |
SyntaxError |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto ErrorConstructor.Gets a reference to an ErrorConstructor object. L'oggetto viene inizializzato come SyntaxError.The object is initialized as a SyntaxError. |
TypeError |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto ErrorConstructor.Gets a reference to an ErrorConstructor object. L'oggetto viene inizializzato come TypeError.The object is initialized as a TypeError. |
uint |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo gestito che corrisponde al tipo di dati |
ulong |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo gestito che corrisponde al tipo di dati |
URIError |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto ErrorConstructor.Gets a reference to an ErrorConstructor object. L'oggetto viene inizializzato come URIError.The object is initialized as a URIError. |
ushort |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo gestito che corrisponde al tipo di dati |
VBArray |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto VBArrayConstructor.Gets a reference to a VBArrayConstructor object. |
void |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo gestito che corrisponde al valore restituito di una funzione che non restituisce un valore.Gets the managed type that corresponds to the return value of a function that does not return a value. |
Metodi
CollectGarbage() |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Chiama il Garbage Collector.Calls the garbage collector. |
decodeURI(Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Decodifica l'URI (Uniform Resource Identifier) specificato, tenendo conto dei caratteri riservati.Decodes the specified Uniform Resource Identifier (URI), accounting for reserved characters. |
decodeURIComponent(Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Decodifica l'URI (Uniform Resource Identifier) specificato.Decodes the specified Uniform Resource Identifier (URI). |
encodeURI(Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Codifica l'URI (Uniform Resource Identifier) specificato, tenendo conto dei caratteri riservati.Encodes the specified Uniform Resource Identifier (URI), accounting for reserved characters. |
encodeURIComponent(Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Codifica l'URI (Uniform Resource Identifier) specificato.Encodes the specified Uniform Resource Identifier (URI). |
Equals(Object) |
Determina se l'oggetto specificato è uguale all'oggetto corrente.Determines whether the specified object is equal to the current object. (Ereditato da Object) |
escape(Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Converte la stringa specificata per utilizzare il carattere % per effettuare l'escape dei caratteri riservati (@, *, +, -, ., /) ed esprimerli nella notazione Unicode.Converts the specified string to use the % character to escape reserved characters (@, *, _, +, -, ., /) and express them in Unicode notation. |
eval(Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Genera un'eccezione IllegalEval in tutti i casi.Throws an IllegalEval exception in all cases. |
GetHashCode() |
Funge da funzione hash predefinita.Serves as the default hash function. (Ereditato da Object) |
GetObject(Object, Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Crea un oggetto gestito da un oggetto non gestito utilizzando il moniker o il ProgID.Creates a managed object from an unmanaged object by using either the moniker or the ProgID. |
GetType() |
Ottiene l'oggetto Type dell'istanza corrente.Gets the Type of the current instance. (Ereditato da Object) |
isFinite(Double) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Determina se il numero specificato rappresenta l'infinito.Determines whether the specified number represents infinity. |
isNaN(Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Determina se il numero specificato può essere convertito in un numero JScript.Determines whether the specified number can be converted to a JScript number. |
MemberwiseClone() |
Crea una copia superficiale dell'oggetto Object corrente.Creates a shallow copy of the current Object. (Ereditato da Object) |
parseFloat(Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Converte le stringhe specificate nell'equivalente Double.Converts the specified string to its Double equivalent. |
parseInt(Object, Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Converte le stringhe specificate nell'equivalente Double, utilizzando la base specificata.Converts the specified string to its Double equivalent, using the specified base. |
ScriptEngine() |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il nome del motore di script.Gets the name of the scripting engine. |
ScriptEngineBuildVersion() |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il numero di build del motore di script.Gets the build number of the scripting engine. |
ScriptEngineMajorVersion() |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il numero della versione principale del motore di script.Gets the major version number of the scripting engine. |
ScriptEngineMinorVersion() |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il numero della versione secondario del motore di script.Gets the minor version number of the scripting engine. |
ToString() |
Restituisce una stringa che rappresenta l'oggetto corrente.Returns a string that represents the current object. (Ereditato da Object) |
unescape(Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Converte nella forma originale i caratteri di escape % (@, *, +, -, ., /) nella stringa specificata.Converts % escaped characters (@, *, _, +, -, ., /) in the specified string to their original form. I caratteri di escape vengono espressi nella notazione Unicode.The escaped characters are expressed in Unicode notation. |