XMLHttpRequest property
Retrieves a factory object that can be used to create an XMLHttpRequest object.
Syntax
HRESULT value = object.get_XMLHttpRequest(IHTMLXMLHttpRequestFactory** p);
Property values
Type: Object
the factory object.Standards information
- XMLHttpRequest, Section 3
Remarks
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
Build date: 11/12/2012