SizeConverter.GetProperties 메서드

정의

이 형식의 속성 집합을 검색합니다. 기본적으로 형식은 반환할 속성을 갖지 않습니다.

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

매개 변수

context
ITypeDescriptorContext

추가 컨텍스트를 제공하는 TypeDescriptor입니다.

value
Object

속성을 가져올 개체의 값입니다.

attributes
Attribute[]

속성을 설명하는 Attribute 개체의 배열입니다.

반환

이 데이터 형식에 대해 노출되어야 하는 속성의 집합을 반환합니다. 노출해야 할 속성이 없으면 null이 반환될 수 있습니다. 기본 구현에서는 항상 null을 반환합니다.

설명

이 메서드를 간단히 구현하려면 올바른 데이터 형식에 대한 GetProperties 메서드를 호출하면 됩니다.

적용 대상