Export (0) Print
Expand All

RemoveSegment method

Removes a highlight segment from the collection of those that are highlighted.

Syntax


HRESULT retVal = object.RemoveSegment(pISegment);

Parameters

pISegment [in]

Type: IHighlightSegment

Pointer to an IHighlightSegment interface to remove.

Return value

Type: HRESULT

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

Remarks

IHighlightRenderingServices::RemoveSegment does not release the IHighlightSegment interface; you still need to call Release to free the IHighlightSegment interface (assuming you called AddRef when you created it).

 

 

Community Additions

ADD
Show:
© 2014 Microsoft