---
title: 创建属性列表
description: 创建新属性作为属性列表类的实例。
url: "https://www.hikunpeng.com/document/detail/zh/hpchistory/hpckit/develop2400/userg_hyperio_0107.html"
---

# 创建属性列表

#### 函数定义

创建新属性作为属性列表类的实例。

hid_t H5Pcreate(H5P_class_t classId)


#### 参数

| 参数名 | 描述 | 取值范围 | 输入/输出 |
| --- | --- | --- | --- |
| classId | 要创建的属性列表的类型。 | 非空 | 输入 |


#### 返回值

- 成功：属性列表标识符。
- 失败：返回负值。
