private JsHasProperty ( |
||
obj | ||
propertyId | IeJsPropertyId | |
hasProperty | bool | |
return | JsErrorCode |
/// <summary> /// Determines whether an object has a property /// </summary> /// <remarks> /// Requires an active script context. /// </remarks> /// <param name="propertyId">The ID of the property</param> /// <returns>Whether the object (or a prototype) has the property</returns> public bool HasProperty(IeJsPropertyId propertyId) { bool hasProperty; IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsHasProperty(this, propertyId, out hasProperty)); return(hasProperty); }