Share via


IXamlType.IsBindable 属性

定义

获取一个值,该值声明类型是否可绑定。

public:
 property bool IsBindable { bool get(); };
bool IsBindable();
public bool IsBindable { get; }
var boolean = iXamlType.isBindable;
Public ReadOnly Property IsBindable As Boolean

属性值

Boolean

bool

如果类型可绑定,则为 true;如果类型不可绑定,则为 false

注解

此属性的值对应于 将 BindableAttribute 应用到本机 C++ 类的基础类。 对于所有公共语言运行时 (CLR) 类,该值始终 为 true

适用于

另请参阅