canHaveChildren property
Gets a value indicating whether the object can contain child objects.
Syntax
HRESULT value = object.get_canHaveChildren(* p);
Property values
Type: VARIANT_BOOL
Indicates whether the object can contain child objects.
Remarks
Objects do not have to contain children for the IHTMLElement2::canHaveChildren property to return true. This property is useful in determining whether objects can be appended as children.
See also
Show: