expando property

[This documentation is preliminary and is subject to change.]

Sets or retrieves a value indicating whether arbitrary variables can be created within the object.

Syntax

HRESULT value = object.put_expando(VARIANT_BOOL v);HRESULT value = object.get_expando(VARIANT_BOOL* p);

Property values

Type: VARIANT_BOOL

VARIANT_TRUE (true)

Default. Creation of arbitrary variables is allowed.

VARIANT_FALSE (false)

Creation of arbitrary variables is not allowed.

Remarks

You can extend the properties on an object by creating arbitrary properties with values.

Microsoft Visual Basic Scripting Edition (VBScript) does not support IHTMLDocument2::expando properties on its native language objects, nor does it cause Windows Internet Explorer to create IHTMLDocument2::expando properties on its objects. Internet Explorer supports creation of IHTMLDocument2::expando properties on its objects, in any language, through IHTMLElement::setAttribute.

In Microsoft Internet Explorer 6, this property now applies to the attribute object.

 

 

Build date: 6/12/2012