다음을 통해 공유


FontTypeConverter.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);
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

컨텍스트 정보를 제공하는 개체입니다.

value
Object

속성 설명이 필요한 대상 개체입니다.

attributes
Attribute[]

관련이 없는 속성을 제외하기 위해 반환된 컬렉션을 필터링하는 특성 배열입니다.

반환

PropertyDescriptorCollection

구성 요소에 대해 노출되는 속성 설명이 포함된 PropertyDescriptorCollection이며, 속성 설명이 반환되는 경우에는 null입니다.

예외

이 메서드가 파생 클래스 대신 이 클래스에서 호출되는 경우

설명

이 메서드는 예외를 throw하는 경우를 제외하고 이 클래스에서 구현되지 않습니다. 상속자 참고를 참조 하십시오.

상속자 참고

선택한 가져오기 위한 메서드를 제공 하려면이 메서드를 재정의 PropertyDescriptor 개체 또는 형식입니다. 이 변환기가 호출되는 환경에 대한 추가 정보를 추출하려면 context 매개 변수를 사용합니다. 사용 된 attributes 포함 하거나 제외할 속성을 지정 하는 배열입니다.

적용 대상