PropertiesTab.GetProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the properties of the specified component.
Overloads
GetProperties(Object, Attribute[]) |
Gets the properties of the specified component that match the specified attributes. |
GetProperties(ITypeDescriptorContext, Object, Attribute[]) |
Gets the properties of the specified component that match the specified attributes and context. |
GetProperties(Object, Attribute[])
Gets the properties of the specified component that match the specified attributes.
public:
override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties (object component, Attribute[] attributes);
public override System.ComponentModel.PropertyDescriptorCollection? GetProperties (object component, Attribute[]? attributes);
override this.GetProperties : obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties (component As Object, attributes As Attribute()) As PropertyDescriptorCollection
Parameters
- component
- Object
The component to retrieve properties from.
- attributes
- Attribute[]
An array of type Attribute that indicates the attributes of the properties to retrieve.
Returns
A PropertyDescriptorCollection that contains the properties.
See also
Applies to
GetProperties(ITypeDescriptorContext, Object, Attribute[])
Gets the properties of the specified component that match the specified attributes and context.
public:
override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext context, object component, Attribute[] attributes);
public override System.ComponentModel.PropertyDescriptorCollection? GetProperties (System.ComponentModel.ITypeDescriptorContext? context, object component, Attribute[]? attributes);
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties (context As ITypeDescriptorContext, component As Object, attributes As Attribute()) As PropertyDescriptorCollection
Parameters
- context
- ITypeDescriptorContext
An ITypeDescriptorContext that indicates the context to retrieve properties from.
- component
- Object
The component to retrieve properties from.
- attributes
- Attribute[]
An array of type Attribute that indicates the attributes of the properties to retrieve.
Returns
A PropertyDescriptorCollection that contains the properties matching the specified context and attributes.
See also
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기