ITextRange2::GetMathFunctionType 方法 (tom.h)

检索与指定数学函数名称关联的数学函数类型。

语法

HRESULT GetMathFunctionType(
  [in]  BSTR bstr,
  [out] long *pValue
);

参数

[in] bstr

类型: BSTR

检查以确定数学函数类型的数学函数名称。

[out] pValue

类型: long*

bstr 指定的函数名称的数学函数类型。 可以是下列值之一。

tomFunctionTypeNone

tomFunctionTypeTakesArg

tomFunctionTypeTakesLim

tomFunctionTypeTakesLim2

tomFunctionTypeIsLim

返回值

类型: HRESULT

如果方法成功,则返回 NOERROR。 否则,将返回 HRESULT 错误代码。

要求

要求
最低受支持的客户端 Windows 8 [仅限桌面应用]
最低受支持的服务器 Windows Server 2012 [仅限桌面应用]
目标平台 Windows
标头 tom.h
DLL Msftedit.dll

另请参阅

ITextRange2