获取给定索引处的属性的名称。
语法
HRESULT GetSpecifiedAttributeName(
UINT32 index,
[out] PWSTR name,
UINT32 nameCount,
[out, optional] BOOL *inherited
);
参数
index
类型: UINT32
属性的索引。
[out] name
类型: PWSTR
输出属性的名称。
nameCount
类型: UINT32
name 参数中返回的字符串的长度。
[out, optional] inherited
类型: BOOL*
输出属性是否设置为继承值。
返回值
类型: HRESULT
此方法返回 HRESULT 成功或错误代码。
要求
| 目标平台 | Windows |
| 标头 | d2d1svg.h |
| DLL | Direct2d.dll |