NumberPrototype Classe
Definizione
Fornisce proprietà e metodi statici per oggetti NumberObject.Provides static methods and properties for NumberObject objects. Tutti i metodi di questa classe vengono chiamati passando un riferimento all'oggetto che richiede l'accesso al metodo.All methods of this class are called by passing in a reference to the object that is requesting access to the method. 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 NumberPrototype : Microsoft::JScript::NumberObject
public class NumberPrototype : Microsoft.JScript.NumberObject
type NumberPrototype = class
inherit NumberObject
Public Class NumberPrototype
Inherits NumberObject
- Ereditarietà
- Derivato
Campi
engine |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento al motore di script.Stores a reference to the scripting engine. (Ereditato da ScriptObject) |
field_table |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un elenco di campi aggiunti e rimossi dall'oggetto in modo dinamico.Stores a list of fields that are dynamically added and removed from the object. (Ereditato da JSObject) |
parent |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Archivia un riferimento all'oggetto padre.Stores a reference to the parent object. (Ereditato da ScriptObject) |
Proprietà
constructor |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento a un oggetto basato su prototipo che utilizza questo prototipo.Gets a reference to a prototype-based object that is using this prototype. |
Item[Double] |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene o imposta un membro dell'oggetto script designato dal valore di indice Double specificato.Gets or sets a member of the script object that is designated by the specified Double index value. (Ereditato da ScriptObject) |
Item[Int32] |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene o imposta un membro dell'oggetto script designato dal valore di indice Int32 specificato.Gets or sets a member of the script object that is designated by the specified Int32 index value. (Ereditato da ScriptObject) |
Item[Object[]] |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene o imposta un membro dell'oggetto script designato dal nome, dal valore di indice Double o dal valore di indice Int32 specificato.Gets or sets a member of the script object that is designated by the specified name, Double index value, or Int32 index value. (Ereditato da ScriptObject) |
Item[String] |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene o imposta un membro dell'oggetto script designato dal nome specificato.Gets or sets a member of the script object that is designated by the specified name. (Ereditato da ScriptObject) |
UnderlyingSystemType |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene il tipo dell'oggetto script.Gets the type of the script object. (Ereditato da ScriptObject) |
Metodi
AddField(String) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Aggiunge il campo specificato all'oggetto.Adds the specified field to the object. (Ereditato da JSObject) |
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) |
GetField(String, BindingFlags) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un campo con il nome specificato.Gets a field that has the specified name. (Ereditato da ScriptObject) |
GetFields(BindingFlags) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene una matrice di oggetti FieldInfo corrispondenti a tutti i campi dell'oggetto script corrente.Gets an array of FieldInfo objects that correspond to all fields of the current script object. (Ereditato da ScriptObject) |
GetHashCode() |
Funge da funzione hash predefinita.Serves as the default hash function. (Ereditato da Object) |
GetMember(String, BindingFlags) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene una matrice di oggetti MemberInfo corrispondenti a tutti i membri che corrispondono al nome specificato.Gets an array of MemberInfo objects that correspond to all members that match the specified name. (Ereditato da JSObject) |
GetMembers(BindingFlags) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene una matrice di oggetti MemberInfo corrispondenti a tutti i membri dell'oggetto script corrente.Gets an array of MemberInfo objects that correspond to all members of the current script object. (Ereditato da JSObject) |
GetMethod(String, BindingFlags) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un metodo con il nome specificato.Gets a method that has the specified name. (Ereditato da ScriptObject) |
GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un metodo con il nome specificato utilizzando i criteri di selezione specificati.Gets a method that has the specified name by using the specified selection criteria. (Ereditato da ScriptObject) |
GetMethods(BindingFlags) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene una matrice di oggetti MethodInfo corrispondenti a tutti i metodi dell'oggetto script corrente.Gets an array of MethodInfo objects that correspond to all methods of the current script object. (Ereditato da ScriptObject) |
GetParent() |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene un riferimento all'oggetto padre.Gets a reference to the parent object. (Ereditato da ScriptObject) |
GetProperties(BindingFlags) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene una matrice di oggetti PropertyInfo corrispondenti a tutte le proprietà dell'oggetto script corrente.Gets an array of PropertyInfo objects that correspond to all properties of the current script object. (Ereditato da ScriptObject) |
GetProperty(String, BindingFlags) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene una proprietà con il nome specificato.Gets a property that has the specified name. (Ereditato da ScriptObject) |
GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Ottiene una proprietà con il nome specificato utilizzando i criteri di selezione specificati.Gets a property that has the specified name by using the specified selection criteria. (Ereditato da ScriptObject) |
GetType() |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Restituisce il tipo dell'oggetto valore sottostante oppure restituisce NumberObject.Returns the type of the underlying value object, or returns NumberObject. (Ereditato da NumberObject) |
InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Richiama il membro specificato.Invokes the specified member. (Ereditato da ScriptObject) |
MemberwiseClone() |
Crea una copia superficiale dell'oggetto Object corrente.Creates a shallow copy of the current Object. (Ereditato da Object) |
SetMemberValue2(String, Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Imposta il valore di un campo aggiunto in modo dinamico all'oggetto e archiviato in field_table.Sets the value of a field that was dynamically added to the object and stored in field_table. (Ereditato da JSObject) |
toExponential(Object, Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Crea una rappresentazione di stringa dell'oggetto NumberObject specificato che utilizza la notazione scientifica (E).Creates a string representation of the specified NumberObject that uses scientific (E) notation. |
toFixed(Object, Double) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Crea una rappresentazione di stringa dell'oggetto NumberObject specificato che visualizza il numero specificato di cifre decimali.Creates a string representation of the specified NumberObject that displays the specified number of decimal digits. |
toLocaleString(Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Crea una rappresentazione di stringa dell'oggetto specificato basato su CurrentInfo e su CultureInfo.Creates a string representation of the specified object that is based on CurrentInfo and CultureInfo. |
toPrecision(Object, Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Crea una rappresentazione di stringa dell'oggetto NumberObject specificato che visualizza il numero specificato di cifre di precisione.Creates a string representation of the specified NumberObject that displays the specified number of precision digits. |
ToString() |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Restituisce una stringa che rappresenta l'oggetto corrente.Returns a string that represents the current object. (Ereditato da JSObject) |
toString(Object, Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Crea una rappresentazione di stringa dell'oggetto specificato.Creates a string representation of the specified object. |
valueOf(Object) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Restituisce il valore dell'oggetto NumberObject specificato.Returns the value of the specified NumberObject. |
Implementazioni dell'interfaccia esplicita
IEnumerable.GetEnumerator() |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Restituisce un enumeratore che consente di scorrere i membri dell'oggetto.Returns an enumerator that iterates through the members of the object. (Ereditato da JSObject) |
IExpando.AddMethod(String, Delegate) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Aggiunge il metodo specificato all'oggetto.Adds the specified method to the object. IExpando.AddMethod(String, Delegate) non è implementato in JScript.IExpando.AddMethod(String, Delegate) is not implemented in JScript. (Ereditato da JSObject) |
IExpando.AddProperty(String) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Aggiunge la proprietà specificata all'oggetto.Adds the specified property to the object. Questo metodo non è implementato in JScript.This method is not implemented in JScript. (Ereditato da JSObject) |
IExpando.RemoveMember(MemberInfo) |
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice. Rimuove il membro specificato dall'oggetto.Removes the specified member from the object. (Ereditato da JSObject) |
Metodi di estensione
Cast<TResult>(IEnumerable) |
Esegue il cast degli elementi di un oggetto IEnumerable nel tipo specificato.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filtra gli elementi di un oggetto IEnumerable in base a un tipo specificato.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Consente la parallelizzazione di una query.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Converte un oggetto IEnumerable in un oggetto IQueryable.Converts an IEnumerable to an IQueryable. |