IHTMLDOMConstructorCollection::TextRange Property

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

Syntax

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

Parameters

  • p
    Reference to the constructor of the interface object.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

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.