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