ITextStory::GetIndex method

Gets the index of a story.

Syntax

HRESULT GetIndex(
  [out, retval] long *pValue
);

Parameters

  • pValue [out, retval]
    Type: long*

    The index.

Return value

Type: HRESULT

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Remarks

The index is used with the ITextDocument2:: GetStory method.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

IDL

Tom.idl

See also

ITextStory