ITextRange::InStory method

Determines whether this range's story is the same as a specified range's story.

Syntax


HRESULT InStory(
  ITextRange *pRange,
  long *pB
);

Parameters

pRange

Type: ITextRange*

The ITextRange object whose story is compared to this range's story.

pB

Type: long*

The comparison result. The pointer can be null. The pB parameter receives tomTrue if this range's story is the same as that of the pRange; otherwise it receives tomFalse.

Return value

Type: HRESULT

The method returns an HRESULT value. If the two stories are the same, the method returns S_OK. Otherwise, it returns S_FALSE.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

Reference
ITextRange
Conceptual
Text Object Model

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.