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

specified property

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

Syntax

HRESULT value = object.get_specified(* 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 IE9 Standards mode, 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

 

 

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.