IDataModelScriptTemplate::GetDescription 方法 (dbgmodel.h)

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

语法

HRESULT GetDescription(
  BSTR *templateDescription
);

参数

templateDescription

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

返回值

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

要求

要求 价值
标头 dbgmodel.h

另请参阅

IDataModelScriptTemplate 接口