Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

expando property

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

Syntax

HRESULT value = object.put_expando( v);HRESULT value = object.get_expando(* 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.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.