IDataModelScriptTemplate::GetDescription 方法 (dbgmodel.h)

GetDescription 方法返回模板的说明。 此类说明将在更具描述性的界面中呈现给用户,以帮助用户了解模板要执行的操作。 如果模板没有说明,则可能会从此方法返回E_NOTIMPL。

语法

HRESULT GetDescription(
  BSTR *templateDescription
);

参数

templateDescription

此处模板的说明作为通过 SysAllocString 函数分配的字符串返回。 调用方负责使用 SysFreeString 释放此字符串。

返回值

此方法返回指示成功或失败的 HRESULT。

要求

要求
Header dbgmodel.h

另请参阅

IDataModelScriptTemplate 接口