GetMarkupContainer method

Retrieves the markup container for the current editable selection.

Syntax

HRESULT retVal = object.GetMarkupContainer(ppIContainer);

Parameters

  • ppIContainer [out]
    Type: [IMarkupContainer](aa703631(v=vs.85).md)

    Address of a pointer to a variable that receives an IMarkupContainer interface pointer to the interface for the markup container that contains the current editable selection.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.