共用方式為


IMLOperatorAttributes.GetStringAttributeElement 方法

取得字串型別的屬性值。 對於字串陣列的屬性,這個方法會查詢在指定索引處的個別元素值。 字串格式為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 卷標。
  • 若要回報錯誤,請在 GitHub 提出問題。