JsGetPropertyIdFromName() private méthode

private JsGetPropertyIdFromName ( string name, IeJsPropertyId &propertyId ) : JsErrorCode
name string
propertyId IeJsPropertyId
Résultat JsErrorCode
        /// <summary>
        /// Gets a property ID associated with the name
        /// </summary>
        /// <remarks>
        /// <para>
        /// Property IDs are specific to a context and cannot be used across contexts.
        /// </para>
        /// <para>
        /// Requires an active script context.
        /// </para>
        /// </remarks>
        /// <param name="name">
        /// The name of the property ID to get or create. The name may consist of only digits.
        /// </param>
        /// <returns>The property ID in this runtime for the given name</returns>
        public static IeJsPropertyId FromString(string name)
        {
            IeJsPropertyId id;

            IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsGetPropertyIdFromName(name, out id));

            return(id);
        }