IHTMLMSPerformanceMeasure::name Property

New for Internet Explorer 9

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

Gets or sets the name of the object.


HRESULT IHTMLMSPerformanceMeasure::get_name(BSTR *p);HRESULT IHTMLMSPerformanceMeasure::put_name(BSTR v);


Pointer to a variable of type BSTR that receives the name.
BSTR that specifies the name.

Return Value

Returns S_OK if successful, or an error value otherwise.


 New for Internet Explorer 9 Internet Explorer 9. When a webpage is displayed in IE9 mode, the performanceMark and performanceMeasure objects support the IHTMLMSPerformanceMeasure::name property.

Internet Explorer 8 and later. In IE8 mode, dynamically setting the IHTMLMSPerformanceMeasure::name attribute on an input type=radio button correctly applies that button to the same named group. For more information about IE8 mode, see Defining Document Compatibility.

In Internet Explorer 8 and later versions, you can set the NAME attribute at run time on elements that are dynamically created with the IHTMLDocument2::createElement method. To create an element with a NAME attribute in earlier versions of Internet Explorer, include the attribute and its value when you use the IHTMLDocument2::createElement method.

In Microsoft Internet Explorer 6 and later versions, this property applies to the attribute object.

Community Additions

© 2014 Microsoft. All rights reserved.