Method | Description | |
---|---|---|
DefineProperty ( this source, string propertyName, |
Defines a new object's own property from a property descriptor Requires an active script context. |
|
DeleteProperty ( this source, string propertyName, bool useStrictRules ) : |
Deletes an object's property Requires an active script context. |
|
GetOwnPropertyDescriptor ( this source, string propertyName ) : |
Gets a property descriptor for an object's own property Requires an active script context. |
|
GetProperty ( this source, string name ) : |
Gets an object's property Requires an active script context. |
|
HasProperty ( this source, string propertyName ) : bool |
Determines whether an object has a property Requires an active script context. |
|
SetProperty ( this source, string name, |
Sets an object's property Requires an active script context. |
public static DefineProperty ( this source, string propertyName, |
||
source | this | The JavaScript value |
propertyName | string | The name of the property |
propertyDescriptor | The property descriptor | |
return | bool |
public static DeleteProperty ( this source, string propertyName, bool useStrictRules ) : |
||
source | this | The JavaScript value |
propertyName | string | The name of the property |
useStrictRules | bool | The property set should follow strict mode rules |
return |
public static GetOwnPropertyDescriptor ( this source, string propertyName ) : |
||
source | this | The JavaScript value |
propertyName | string | The name of the property |
return |
public static GetProperty ( this source, string name ) : |
||
source | this | The JavaScript value |
name | string | The name of the property |
return |
public static HasProperty ( this source, string propertyName ) : bool | ||
source | this | The JavaScript value |
propertyName | string | The name of the property |
return | bool |
public static SetProperty ( this source, string name, |
||
source | this | The JavaScript value |
name | string | The name of the property |
value | The new value of the property | |
useStrictRules | bool | The property set should follow strict mode rules |
return | void |