collapsed property

Retrieves whether a range is collapsed or empty.

 

Syntax

HRESULT value = object.get_collapsed(* p);

Property values

Type: VARIANT_BOOL

VARIANT_FALSE (false)

Default. The range is not collapsed.

VARIANT_TRUE (true)

The range is collapsed.

Standards information

Remarks

A collapsed range has its start and end boundary points set to the same value, rendering it empty.

See also

IHTMLDOMRange::collapse