Delen via


ISymUnmanagedReader::GetDocumentVersion Method

Gets the specified version of the specified document. The document version starts at 1 and is incremented each time the document is updated using the UpdateSymbolStore method. If the pbCurrent parameter is true, this is the latest version of the document.

HRESULT GetDocumentVersion (
    [in]  ISymUnmanagedDocument *pDoc,
    [out] int* version,
    [out] BOOL* pbCurrent);

Parameters

  • pDoc
    [in] The specified document.

  • version
    [out] A pointer to a variable that receives the version of the specified document.

  • pbCurrent
    [out] A pointer to a variable that receives true if this is the latest version of the document, or false if it isn't the latest version.

Return Value

S_OK if the method succeeds; otherwise, E_FAIL or some other error code.

Requirements

Header: CorSym.idl

See Also

Reference

ISymUnmanagedReader Interface