msPutPropertyEnabled method

Sets whether a given property in the style object is enabled.

Internet Explorer 9

 

Syntax

var retval = style.msPutPropertyEnabled(name, b);

Parameters

name [in]

Type: String

The name of the property.

b [in]

Type: Boolean

false (false)

Disable the property.

true (true)

Enable the property.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

See also

style