MsieJavaScriptEngine.JsRt.JavaScriptValue.DeleteProperty C# (CSharp) Method

DeleteProperty() public method

Deletes an object's property.
Requires an active script context.
public DeleteProperty ( JavaScriptPropertyId propertyId, bool useStrictRules ) : JavaScriptValue
propertyId JavaScriptPropertyId The ID of the property.
useStrictRules bool The property set should follow strict mode rules.
return JavaScriptValue
        public JavaScriptValue DeleteProperty(JavaScriptPropertyId propertyId, bool useStrictRules)
        {
            JavaScriptValue returnReference;
            Native.ThrowIfError(Native.JsDeleteProperty(this, propertyId, useStrictRules, out returnReference));
            return returnReference;
        }