非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。
msPutPropertyEnabled
method sets whether a given property in the style object is enabled or disabled.
This proprietary method is specific to Internet Explorer and Microsoft Edge.
var retval = style.msPutPropertyEnabled(propertyName, true);
name[in]: Name of the property. (String)
boolean[in]: True = Enable the property. False = Disable the property.
Type = HRESULT: If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.