Creates a document context object corresponding to the provided character position range.
HRESULT GetContextOfPosition( ULONG cCharacterPosition, ULONG cNumChars, IDebugDocumentContext** ppsc );
- cCharacterPosition
 [in] Start location of the character position range.
- cNumChars
 [in] Number of characters in the range.
- ppsc
 [out] The document context object corresponding to the specified character position range.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value  | Description  | 
|---|---|
S_OK  | The method succeeded.  | 
This method creates a document context object corresponding to the provided character position range.