JavaScriptEngineSwitcher.ChakraCore.JsRt.JsValue.DeleteProperty C# (CSharp) Method

DeleteProperty() public method

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

			return returnReference;
		}