ListBindableAttribute Класс
Определение
Указывает, что список может использоваться в качестве источника данных.Specifies that a list can be used as a data source. Визуальный конструктор должен использовать этот атрибут, чтобы определить, отображается ли конкретный список в сборщике привязки данных.A visual designer should use this attribute to determine whether to display a particular list in a data-binding picker. Этот класс не наследуется.This class cannot be inherited.
public ref class ListBindableAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.All)]
public sealed class ListBindableAttribute : Attribute
type ListBindableAttribute = class
inherit Attribute
Public NotInheritable Class ListBindableAttribute
Inherits Attribute
- Наследование
- Атрибуты
Комментарии
Дополнительные сведения об использовании атрибутов см. в разделе атрибуты.For more information about using attributes, see Attributes.
Конструкторы
ListBindableAttribute(BindableSupport) |
Инициализирует новый экземпляр класса ListBindableAttribute, используя объект BindableSupport, показывающий, поддерживает ли список возможности привязки.Initializes a new instance of the ListBindableAttribute class using BindableSupport to indicate whether the list is bindable. |
ListBindableAttribute(Boolean) |
Инициализирует новый экземпляр класса ListBindableAttribute, используя значение, показывающее, поддерживает ли этот список возможности привязки.Initializes a new instance of the ListBindableAttribute class using a value to indicate whether the list is bindable. |
Поля
Default |
Представляет значение по умолчанию для объекта ListBindableAttribute.Represents the default value for ListBindableAttribute. |
No |
Определяет, что список не поддерживает возможности привязки.Specifies that the list is not bindable. Это статическое ( |
Yes |
Определяет, что список не поддерживает возможности привязки.Specifies that the list is bindable. Это статическое ( |
Свойства
ListBindable |
Возвращает значение, показывающее, поддерживает ли список возможности привязки.Gets whether the list is bindable. |
TypeId |
При реализации в производном классе возвращает уникальный идентификатор для этого Attribute.When implemented in a derived class, gets a unique identifier for this Attribute. (Унаследовано от Attribute) |
Методы
Equals(Object) |
Возвращает значение, показывающее, равен ли переданный объект этому атрибуту ListBindableAttribute.Returns whether the object passed is equal to this ListBindableAttribute. |
GetHashCode() |
Возвращает хэш-код данного экземпляра.Returns the hash code for this instance. |
GetType() |
Возвращает объект Type для текущего экземпляра.Gets the Type of the current instance. (Унаследовано от Object) |
IsDefaultAttribute() |
Возвращает значение, показывающее, установлено ли для свойства ListBindable значение по умолчанию.Returns whether ListBindable is set to the default value. |
Match(Object) |
При переопределении в производном классе возвращает значение, указывающее, является ли этот экземпляр равным заданному объекту.When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Унаследовано от Attribute) |
MemberwiseClone() |
Создает неполную копию текущего объекта Object.Creates a shallow copy of the current Object. (Унаследовано от Object) |
ToString() |
Возвращает строку, представляющую текущий объект.Returns a string that represents the current object. (Унаследовано от Object) |
Явные реализации интерфейса
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) |
Сопоставляет набор имен соответствующему набору идентификаторов диспетчеризации.Maps a set of names to a corresponding set of dispatch identifiers. (Унаследовано от Attribute) |
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) |
Возвращает сведения о типе объекта, которые можно использовать для получения сведений о типе интерфейса.Retrieves the type information for an object, which can be used to get the type information for an interface. (Унаследовано от Attribute) |
_Attribute.GetTypeInfoCount(UInt32) |
Возвращает количество предоставляемых объектом интерфейсов для доступа к сведениям о типе (0 или 1).Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Унаследовано от Attribute) |
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) |
Предоставляет доступ к открытым свойствам и методам объекта.Provides access to properties and methods exposed by an object. (Унаследовано от Attribute) |