JavaScriptEngineSwitcher.ChakraCore.JsRt.JsValue.DeleteProperty C# (CSharp) 메소드

DeleteProperty() 공개 메소드

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
리턴 JsValue
		public JsValue DeleteProperty(JsPropertyId propertyId, bool useStrictRules)
		{
			JsValue returnReference;
			JsErrorHelpers.ThrowIfError(NativeMethods.JsDeleteProperty(this, propertyId, useStrictRules, out returnReference));

			return returnReference;
		}