Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

collapsed property

Retrieves whether a range is collapsed or empty.

Document Object Model (DOM) Level 2 Traversal and Range Specification, Section 2.13Internet Explorer 9

 

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft