共用方式為


IMarkupContainer interface

This interface is an object representing the organization of elements and text in a page.

Members

The IMarkupContainer interface inherits from the IUnknown interface but does not have additional members.

Remarks

You cannot compare two elements using a single container, because all markup pointers and elements reside in containers. The IMarkupPointer::MoveToContainer and IMarkupPointer::GetContainer methods use a markup container directly.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll