Method | Description | |
---|---|---|
AddRef ( ) : uint |
Adds a reference to the object This only needs to be called on objects that are not going to be stored somewhere on the stack. Calling AddRef ensures that the JavaScript object the value refers to will not be freed until Release is called |
|
CallFunction ( ) : |
Invokes a function Requires an active script context. |
|
ConstructObject ( ) : |
Invokes a function as a constructor Requires an active script context. |
|
ConvertToBoolean ( ) : |
Converts a value to Requires an active script context. |
|
ConvertToNumber ( ) : |
Converts a value to Requires an active script context. |
|
ConvertToObject ( ) : |
Converts a value to Requires an active script context. |
|
ConvertToString ( ) : |
Converts a value to Requires an active script context. |
|
CreateArray ( uint length ) : |
Creates a JavaScript array object Requires an active script context |
|
CreateError ( |
Creates a new JavaScript error object Requires an active script context. |
|
CreateExternalObject ( |
Creates a new Requires an active script context. |
|
CreateFunction ( IeJsNativeFunction function ) : |
Creates a new JavaScript function Requires an active script context. |
|
CreateFunction ( IeJsNativeFunction function, |
Creates a new JavaScript function Requires an active script context. |
|
CreateObject ( ) : |
Creates a new Requires an active script context. |
|
CreateRangeError ( |
Creates a new JavaScript RangeError error object Requires an active script context. |
|
CreateReferenceError ( |
Creates a new JavaScript ReferenceError error object Requires an active script context. |
|
CreateSyntaxError ( |
Creates a new JavaScript SyntaxError error object Requires an active script context. |
|
CreateTypeError ( |
Creates a new JavaScript TypeError error object Requires an active script context. |
|
CreateUriError ( |
Creates a new JavaScript URIError error object Requires an active script context. |
|
DefineProperty ( IeJsPropertyId propertyId, |
Defines a new object's own property from a property descriptor Requires an active script context. |
|
DeleteIndexedProperty ( |
Deletes a value at the specified index of an object Requires an active script context. |
|
DeleteProperty ( IeJsPropertyId propertyId, bool useStrictRules ) : |
Deletes a object's property Requires an active script context. |
|
Equals ( |
Compare two JavaScript values for equality This function is equivalent to the "==" operator in JavaScript. Requires an active script context. |
|
FromBoolean ( bool value ) : |
Creates a Requires an active script context. |
|
FromDouble ( double value ) : |
Creates a Requires an active script context. |
|
FromInt32 ( int value ) : |
Creates a Requires an active script context. |
|
FromObject ( object value ) : |
Creates a JavaScript value that is a projection of the passed in object Requires an active script context. |
|
FromString ( string value ) : |
Creates a Requires an active script context. |
|
GetIndexedProperty ( |
Retrieve a value at the specified index of an object Requires an active script context. |
|
GetOwnPropertyDescriptor ( IeJsPropertyId propertyId ) : |
Gets a property descriptor for an object's own property Requires an active script context. |
|
GetOwnPropertyNames ( ) : |
Gets a list of all properties on the object Requires an active script context. |
|
GetProperty ( IeJsPropertyId id ) : |
Gets a object's property Requires an active script context. |
|
HasIndexedProperty ( |
Test if an object has a value at the specified index Requires an active script context. |
|
HasProperty ( IeJsPropertyId propertyId ) : bool |
Determines whether an object has a property Requires an active script context. |
|
PreventExtension ( ) : void |
Sets a object to not be extensible Requires an active script context. |
|
Release ( ) : uint |
Releases a reference to the object Removes a reference that was created by AddRef. |
|
SetIndexedProperty ( |
Set a value at the specified index of an object Requires an active script context. |
|
SetProperty ( IeJsPropertyId id, |
Sets a object's property Requires an active script context. |
|
StrictEquals ( |
Compare two JavaScript values for strict equality This function is equivalent to the "===" operator in JavaScript. Requires an active script context. |
|
ToBoolean ( ) : bool |
Retrieves a Requires an active script context. |
|
ToDouble ( ) : double |
Retrieves a This function retrieves the value of a Number value. It will fail with Requires an active script context. |
|
ToObject ( ) : object |
Retrieves a object representation of an Requires an active script context. |
|
ToString ( ) : string |
Retrieves a string pointer of a This function retrieves the string pointer of a Requires an active script context. |
Method | Description | |
---|---|---|
IeJsValue ( |
Initializes a new instance of the IeJsValue struct
|
public static CreateArray ( uint length ) : |
||
length | uint | The initial length of the array |
return |
public static CreateError ( |
||
message | Message for the error object | |
return |
public static CreateExternalObject ( |
||
data | External data that the object will represent. May be null. | |
finalizer | JsObjectFinalizeCallback | A callback for when the object is finalized. May be null. |
return |
public static CreateFunction ( IeJsNativeFunction function ) : |
||
function | IeJsNativeFunction | The method to call when the function is invoked |
return |
public static CreateFunction ( IeJsNativeFunction function, |
||
function | IeJsNativeFunction | The method to call when the function is invoked |
callbackData | Data to be provided to all function callbacks | |
return |
public static CreateRangeError ( |
||
message | Message for the error object | |
return |
public static CreateReferenceError ( |
||
message | Message for the error object | |
return |
public static CreateSyntaxError ( |
||
message | Message for the error object | |
return |
public static CreateTypeError ( |
||
message | Message for the error object | |
return |
public static CreateUriError ( |
||
message | Message for the error object | |
return |
public DefineProperty ( IeJsPropertyId propertyId, |
||
propertyId | IeJsPropertyId | The ID of the property |
propertyDescriptor | The property descriptor | |
return | bool |
public DeleteIndexedProperty ( |
||
index | The index to delete | |
return | void |
public DeleteProperty ( IeJsPropertyId propertyId, bool useStrictRules ) : |
||
propertyId | IeJsPropertyId | The ID of the property |
useStrictRules | bool | The property set should follow strict mode rules |
return |
public Equals ( |
||
other | The object to compare | |
return | bool |
public static FromBoolean ( bool value ) : |
||
value | bool | The value to be converted |
return |
public static FromDouble ( double value ) : |
||
value | double | The value to be converted |
return |
public static FromInt32 ( int value ) : |
||
value | int | The value to be converted |
return |
public static FromObject ( object value ) : |
||
value | object | The object to be projected |
return |
public static FromString ( string value ) : |
||
value | string | The string to convert to a |
return |
public GetIndexedProperty ( |
||
index | The index to retrieve | |
return |
public GetOwnPropertyDescriptor ( IeJsPropertyId propertyId ) : |
||
propertyId | IeJsPropertyId | The ID of the property |
return |
public GetProperty ( IeJsPropertyId id ) : |
||
id | IeJsPropertyId | The ID of the property |
return |
public HasIndexedProperty ( |
||
index | The index to test | |
return | bool |
public HasProperty ( IeJsPropertyId propertyId ) : bool | ||
propertyId | IeJsPropertyId | The ID of the property |
return | bool |
public SetIndexedProperty ( |
||
index | The index to set | |
value | The value to set | |
return | void |
public SetProperty ( IeJsPropertyId id, |
||
id | IeJsPropertyId | The ID of the property |
value | The new value of the property | |
useStrictRules | bool | The property set should follow strict mode rules |
return | void |
public StrictEquals ( |
||
other | The object to compare | |
return | bool |