msPutPropertyEnabled method
Sets whether a given property in the style object is enabled.
![]() |
Syntax
HRESULT retVal = object.msPutPropertyEnabled(name, b);
Parameters
name [in]
Type: BSTR
The name of the property.
b [in]
Type: VARIANT_BOOL
VARIANT_FALSE (false)
Disable the property.
VARIANT_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.