GetSelectionServices method

Gets an ISelectionServices interface for a markup container.

Syntax


HRESULT retVal = object.GetSelectionServices(pIContainer, ppSelSvc);

Parameters

pIContainer [in]

Type: IMarkupContainer

A pointer to an IMarkupContainer interface for which you want the ISelectionServices interface.

ppSelSvc [out]

Type: ISelectionServices

A pointer to a variable that receives an ISelectionServices interface pointer for the ISelectionServices interface on the editor's selection object.

Return value

Type: HRESULT

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

 

 

Show: