Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

XMLHttpRequest property

Retrieves a factory object that can be used to create an XMLHttpRequest object.


HRESULT value = object.get_XMLHttpRequest(IHTMLXMLHttpRequestFactory** p);

Property values

Type: Object

the factory object.

Standards information


Despite its name, this method does not return an XMLHttpRequest object directly. Instead, it returns an IHTMLXMLHttpRequestFactory, which can be used to create an XMLHttpRequest object.

If the FEATURE_XMLHTTPREQUEST feature has been disabled, this method will return a VARIANT of type VT_EMPTY. See CoInternetIsFeatureEnabled.

If the cross-domain request feature has been disabled in Windows Internet Explorer, this method returns NULL.

IHTMLWindow5::XMLHttpRequest was introduced in Windows Internet Explorer 7

See also




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

Community Additions

© 2014 Microsoft. All rights reserved.