共用方式為


CHtmlEditCtrlBase::GetBookMark

Retrieves the name of a bookmark anchor.

HRESULT GetBookMark(
   CString& strAnchor 
) const;

Parameters

  • strAnchor
    The name of a bookmark anchor.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

For more information, see IDM_BOOKMARK Command ID.

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase Members

CHtmlEditCtrlBase::SetBookMark