specified property

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

Gets a value that indicates whether an attribute is explicitly given a value.

Syntax

HRESULT value = object.get_specified(VARIANT_BOOL* p);

Property values

Type: VARIANT_BOOL

one of the values listed in Possible Values.

VARIANT_TRUE (true)

Attribute values were explicitly specified.

VARIANT_FALSE (false)

Attribute values were not specified.

Standards information

Remarks

An attribute value is specified if it is assigned through HTML or script.

Windows Internet Explorer 9. When webpages are displayed in Defining Document Compatibility, the attributes collection does not contain attributes that are not specifically created (unlike previous Windows Internet Explorer versions). As a result, the IHTMLDOMAttribute3::specified property returns VARIANT_TRUE for every item in the attributes collection.

See also

About the W3C Document Object Model

 

 

Build date: 6/12/2012