PropertyTab.GetProperties Метод

Определение

Возвращает свойства указанного компонента.

Перегрузки

Имя Описание
GetProperties(Object)

Возвращает свойства указанного компонента.

GetProperties(Object, Attribute[])

Возвращает свойства указанного компонента, соответствующего указанным атрибутам.

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Возвращает свойства указанного компонента, соответствующего указанным атрибутам и контексту.

GetProperties(Object)

Исходный код:
PropertyTab.cs
Исходный код:
PropertyTab.cs
Исходный код:
PropertyTab.cs
Исходный код:
PropertyTab.cs
Исходный код:
PropertyTab.cs

Возвращает свойства указанного компонента.

public:
 virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::Object ^ component);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties(object component);
public virtual System.ComponentModel.PropertyDescriptorCollection? GetProperties(object component);
abstract member GetProperties : obj -> System.ComponentModel.PropertyDescriptorCollection
override this.GetProperties : obj -> System.ComponentModel.PropertyDescriptorCollection
Public Overridable Function GetProperties (component As Object) As PropertyDescriptorCollection

Параметры

component
Object

Компонент для получения свойств.

Возвращаемое значение

Объект, PropertyDescriptorCollection содержащий свойства компонента.

Применяется к

GetProperties(Object, Attribute[])

Исходный код:
PropertyTab.cs
Исходный код:
PropertyTab.cs
Исходный код:
PropertyTab.cs
Исходный код:
PropertyTab.cs
Исходный код:
PropertyTab.cs

Возвращает свойства указанного компонента, соответствующего указанным атрибутам.

public:
 abstract System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public abstract System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes);
public abstract System.ComponentModel.PropertyDescriptorCollection? GetProperties(object component, Attribute[]? attributes);
public abstract System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes);
abstract member GetProperties : obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public MustOverride Function GetProperties (component As Object, attributes As Attribute()) As PropertyDescriptorCollection

Параметры

component
Object

Компонент, из которого требуется получить свойства.

attributes
Attribute[]

Массив типа Attribute , указывающий атрибуты извлекаемых свойств.

Возвращаемое значение

Объект, PropertyDescriptorCollection содержащий свойства.

Применяется к

GetProperties(ITypeDescriptorContext, Object, Attribute[])

Исходный код:
PropertyTab.cs
Исходный код:
PropertyTab.cs
Исходный код:
PropertyTab.cs
Исходный код:
PropertyTab.cs
Исходный код:
PropertyTab.cs

Возвращает свойства указанного компонента, соответствующего указанным атрибутам и контексту.

public:
 virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object component, Attribute[] attributes);
public virtual System.ComponentModel.PropertyDescriptorCollection? GetProperties(System.ComponentModel.ITypeDescriptorContext? context, object component, Attribute[]? attributes);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext? context, object component, Attribute[]? attributes);
abstract member GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overridable Function GetProperties (context As ITypeDescriptorContext, component As Object, attributes As Attribute()) As PropertyDescriptorCollection

Параметры

context
ITypeDescriptorContext

Значение, ITypeDescriptorContext указывающее контекст для получения свойств.

component
Object

Компонент, из которого требуется получить свойства.

attributes
Attribute[]

Массив типа Attribute , указывающий атрибуты извлекаемых свойств.

Возвращаемое значение

Объект, PropertyDescriptorCollection содержащий свойства, соответствующие указанному контексту и атрибутам.

Применяется к