JSValue.From Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
From(UInt32, JSContext) |
Cria um número JavaScript que representa o fornecido de 32 bits |
From(String, JSContext) |
Cria uma cadeia de caracteres JavaScript com base na cadeia de caracteres fornecida. |
From(Int32, JSContext) |
Cria um inteiro javaScript para o fornecido |
From(Double, JSContext) |
Cria um duplo JavaScript com base no duplo |
From(Boolean, JSContext) |
Cria um valor booliano JavaScript com base no valor booliano fornecido. |
From(CGSize, JSContext) | |
From(NSObject, JSContext) |
|
From(CGRect, JSContext) | |
From(CGPoint, JSContext) | |
From(NSRange, JSContext) |
Cria um objeto JavaScript com |
From(UInt32, JSContext)
Cria um número JavaScript que representa o fornecido de 32 bits value
.
[Foundation.Export("valueWithUInt32:inContext:")]
public static JavaScriptCore.JSValue From (uint value, JavaScriptCore.JSContext context);
static member From : uint32 * JavaScriptCore.JSContext -> JavaScriptCore.JSValue
Parâmetros
- value
- UInt32
- context
- JSContext
Retornos
- Atributos
Aplica-se a
From(String, JSContext)
Cria uma cadeia de caracteres JavaScript com base na cadeia de caracteres fornecida.
public static JavaScriptCore.JSValue From (string value, JavaScriptCore.JSContext context);
static member From : string * JavaScriptCore.JSContext -> JavaScriptCore.JSValue
Parâmetros
- value
- String
- context
- JSContext
Retornos
Aplica-se a
From(Int32, JSContext)
Cria um inteiro javaScript para o fornecido ivalue
.
[Foundation.Export("valueWithInt32:inContext:")]
public static JavaScriptCore.JSValue From (int ivalue, JavaScriptCore.JSContext context);
static member From : int * JavaScriptCore.JSContext -> JavaScriptCore.JSValue
Parâmetros
- ivalue
- Int32
- context
- JSContext
Retornos
- Atributos
Aplica-se a
From(Double, JSContext)
Cria um duplo JavaScript com base no duplo value
fornecido.
[Foundation.Export("valueWithDouble:inContext:")]
public static JavaScriptCore.JSValue From (double value, JavaScriptCore.JSContext context);
static member From : double * JavaScriptCore.JSContext -> JavaScriptCore.JSValue
Parâmetros
- value
- Double
- context
- JSContext
Retornos
- Atributos
Aplica-se a
From(Boolean, JSContext)
Cria um valor booliano JavaScript com base no valor booliano fornecido.
[Foundation.Export("valueWithBool:inContext:")]
public static JavaScriptCore.JSValue From (bool value, JavaScriptCore.JSContext context);
static member From : bool * JavaScriptCore.JSContext -> JavaScriptCore.JSValue
Parâmetros
- value
- Boolean
- context
- JSContext
Retornos
- Atributos
Aplica-se a
From(CGSize, JSContext)
[Foundation.Export("valueWithSize:inContext:")]
public static JavaScriptCore.JSValue From (CoreGraphics.CGSize size, JavaScriptCore.JSContext context);
static member From : CoreGraphics.CGSize * JavaScriptCore.JSContext -> JavaScriptCore.JSValue
Parâmetros
- size
- CGSize
- context
- JSContext
Retornos
- Atributos
Aplica-se a
From(NSObject, JSContext)
value
Converte em um objeto JavaScript no contexto especificado.
[Foundation.Export("valueWithObject:inContext:")]
public static JavaScriptCore.JSValue From (Foundation.NSObject value, JavaScriptCore.JSContext context);
static member From : Foundation.NSObject * JavaScriptCore.JSContext -> JavaScriptCore.JSValue
Parâmetros
- value
- NSObject
- context
- JSContext
Retornos
- Atributos
Aplica-se a
From(CGRect, JSContext)
[Foundation.Export("valueWithRect:inContext:")]
public static JavaScriptCore.JSValue From (CoreGraphics.CGRect rect, JavaScriptCore.JSContext context);
static member From : CoreGraphics.CGRect * JavaScriptCore.JSContext -> JavaScriptCore.JSValue
Parâmetros
- rect
- CGRect
- context
- JSContext
Retornos
- Atributos
Aplica-se a
From(CGPoint, JSContext)
[Foundation.Export("valueWithPoint:inContext:")]
public static JavaScriptCore.JSValue From (CoreGraphics.CGPoint point, JavaScriptCore.JSContext context);
static member From : CoreGraphics.CGPoint * JavaScriptCore.JSContext -> JavaScriptCore.JSValue
Parâmetros
- point
- CGPoint
- context
- JSContext
Retornos
- Atributos
Aplica-se a
From(NSRange, JSContext)
Cria um objeto JavaScript com length
as propriedades e range
derivadas do fornecido range
.
[Foundation.Export("valueWithRange:inContext:")]
public static JavaScriptCore.JSValue From (Foundation.NSRange range, JavaScriptCore.JSContext context);
static member From : Foundation.NSRange * JavaScriptCore.JSContext -> JavaScriptCore.JSValue
Parâmetros
- range
- NSRange
- context
- JSContext
Retornos
- Atributos