ListBindableAttribute 类

指定列表可被用作数据源。可视化设计器应该使用该属性来确定是否在数据绑定选择器中显示特定的列表。无法继承此类。

**命名空间:**System.ComponentModel
**程序集:**System(在 system.dll 中)

语法

声明
<AttributeUsageAttribute(AttributeTargets.All)> _
Public NotInheritable Class ListBindableAttribute
    Inherits Attribute
用法
Dim instance As ListBindableAttribute
[AttributeUsageAttribute(AttributeTargets.All)] 
public sealed class ListBindableAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::All)] 
public ref class ListBindableAttribute sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.All) */ 
public final class ListBindableAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.All) 
public final class ListBindableAttribute extends Attribute

备注

有关使用属性的更多信息,请参见 属性 (Attribute) 概述利用属性扩展元数据

继承层次结构

System.Object
   System.Attribute
    System.ComponentModel.ListBindableAttribute

线程安全

此类型的任何公共静态(Visual Basic 中的 Shared)成员都是线程安全的,但不保证所有实例成员都是线程安全的。

平台

Windows 98、Windows 2000 SP4、Windows Millennium Edition、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

请参见

参考

ListBindableAttribute 成员
System.ComponentModel 命名空间