获取属于字符串类型的特性元素的值。 对于字符串数组的属性,此方法查询指定索引处属性中单个元素的值。 字符串采用 UTF-8 格式。 大小包括 null 终止字符。
void GetStringAttributeElement(
_In_z_ const char* name,
uint32_t elementIndex,
uint32_t attributeElementByteSize,
_Out_writes_(uint32_t) char* attributeElement)
要求
| 要求 | |
|---|---|
| 最低支持的客户端 | Windows 10 版本 17763 |
| 支持的最低服务器 | 具有桌面体验的 Windows Server 2019 |
| 标头 | MLOperatorAuthor.h |
注释
使用以下资源获取有关 Windows ML 的帮助:
- 若要提出或回答有关 Windows ML 的技术问题,请在 Stack Overflow 上使用 windows-machine-learning 标记。
- 若要报告 bug,请在 GitHub 上提交问题。