MSDN Library

IHTMLDOMConstructorCollection::TextRange Property

Returns a reference to the constructor for objects derived from the TextRange interface object.


HRESULT IHTMLDOMConstructorCollection::get_TextRange(IDispatch **p);


Reference to the constructor of the interface object.

Return Value

Returns S_OK if successful, or an error value otherwise.


This member supports the Document Object Model (DOM) infrastructure and is not intended to be used directly from your code. Use the constructor.prototype property of an object derived from the TextRange interface object to manage the behavior of TextRange objects. For more information, see Advanced Object Creation (JScript).

The new operator cannot be used to create an instance of a TextRange interface object.

Community Additions

© 2015 Microsoft