共用方式為


IMLOperatorAttributes.GetStringAttributeElementLength 方法

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