C# 클래스 MsieJavaScriptEngine.JsRt.Edge.EdgeJsValueExtensions

Extensions for the “Edge” JavaScript value
파일 보기 프로젝트 열기: Taritsyn/MsieJavaScriptEngine

공개 메소드들

메소드 설명
DefineProperty ( this source, string propertyName, EdgeJsValue propertyDescriptor ) : bool

Defines a new object's own property from a property descriptor

Requires an active script context.

DeleteProperty ( this source, string propertyName, bool useStrictRules ) : EdgeJsValue

Deletes an object's property

Requires an active script context.

GetOwnPropertyDescriptor ( this source, string propertyName ) : EdgeJsValue

Gets a property descriptor for an object's own property

Requires an active script context.

GetProperty ( this source, string name ) : EdgeJsValue

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, EdgeJsValue value, bool useStrictRules ) : void

Sets an object's property

Requires an active script context.

메소드 상세

DefineProperty() 공개 정적인 메소드

Defines a new object's own property from a property descriptor
Requires an active script context.
public static DefineProperty ( this source, string propertyName, EdgeJsValue propertyDescriptor ) : bool
source this The JavaScript value
propertyName string The name of the property
propertyDescriptor EdgeJsValue The property descriptor
리턴 bool

DeleteProperty() 공개 정적인 메소드

Deletes an object's property
Requires an active script context.
public static DeleteProperty ( this source, string propertyName, bool useStrictRules ) : EdgeJsValue
source this The JavaScript value
propertyName string The name of the property
useStrictRules bool The property set should follow strict mode rules
리턴 EdgeJsValue

GetOwnPropertyDescriptor() 공개 정적인 메소드

Gets a property descriptor for an object's own property
Requires an active script context.
public static GetOwnPropertyDescriptor ( this source, string propertyName ) : EdgeJsValue
source this The JavaScript value
propertyName string The name of the property
리턴 EdgeJsValue

GetProperty() 공개 정적인 메소드

Gets an object's property
Requires an active script context.
public static GetProperty ( this source, string name ) : EdgeJsValue
source this The JavaScript value
name string The name of the property
리턴 EdgeJsValue

HasProperty() 공개 정적인 메소드

Determines whether an object has a property
Requires an active script context.
public static HasProperty ( this source, string propertyName ) : bool
source this The JavaScript value
propertyName string The name of the property
리턴 bool

SetProperty() 공개 정적인 메소드

Sets an object's property
Requires an active script context.
public static SetProperty ( this source, string name, EdgeJsValue value, bool useStrictRules ) : void
source this The JavaScript value
name string The name of the property
value EdgeJsValue The new value of the property
useStrictRules bool The property set should follow strict mode rules
리턴 void