Share via


IXamlType.KeyType 属性

定义

获取一个值,该值提供此 IXamlTypeKey 属性的类型信息(如果此 IXamlType 表示字典/映射)。

public:
 property IXamlType ^ KeyType { IXamlType ^ get(); };
IXamlType KeyType();
public IXamlType KeyType { get; }
var iXamlType = iXamlType.keyType;
Public ReadOnly Property KeyType As IXamlType

属性值

字典使用的键类型的 IXamlType 信息;否则,如果此 IXamlType 不表示字典/映射,则为 null。

适用于