CustomTypeDescriptor.GetProperties 메서드

정의

이 형식 설명자가 나타내는 개체에 대한 속성 설명자의 컬렉션을 반환합니다.

오버로드

Name Description
GetProperties()

이 형식 설명자가 나타내는 개체에 대한 속성 설명자의 컬렉션을 반환합니다.

GetProperties(Attribute[])

이 형식 설명자가 나타내는 개체에 대해 필터링된 속성 설명자 컬렉션을 반환합니다.

설명

이 메서드는 GetProperties 이 형식 설명자가 나타내는 개체에 대한 속성 설명자의 컬렉션을 반환합니다. 반환되는 컬렉션을 필터링하기 위해 선택적 특성 배열을 제공할 수 있습니다. 부모가 제공되지 않으면 메서드가 반환 Empty됩니다.

GetProperties()

이 형식 설명자가 나타내는 개체에 대한 속성 설명자의 컬렉션을 반환합니다.

public:
 virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties();
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties();
abstract member GetProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
override this.GetProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
Public Overridable Function GetProperties () As PropertyDescriptorCollection

반품

PropertyDescriptorCollection 이 형식 설명자가 나타내는 개체에 대한 속성 설명을 포함하는 형식입니다. 기본값은 Empty입니다.

구현

설명

부모 사용자 지정 형식 설명자가 생성자에 GetProperties 전달된 CustomTypeDescriptor 경우 메서드는 부모의 해당 메서드를 호출합니다.

추가 정보

적용 대상

GetProperties(Attribute[])

이 형식 설명자가 나타내는 개체에 대해 필터링된 속성 설명자 컬렉션을 반환합니다.

public:
 virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(cli::array <Attribute ^> ^ attributes);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties(Attribute[] attributes);
abstract member GetProperties : Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
override this.GetProperties : Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overridable Function GetProperties (attributes As Attribute()) As PropertyDescriptorCollection

매개 변수

attributes
Attribute[]

필터로 사용할 특성의 배열입니다. 이 매개 변수는 null이 될 수 있습니다.

반품

PropertyDescriptorCollection 이 형식 설명자가 나타내는 개체에 대한 속성 설명을 포함하는 형식입니다. 기본값은 Empty입니다.

구현

설명

매개 변수를 attributes 사용하여 반환되는 컬렉션을 필터링할 수 있습니다. 필터링 규칙은 다음을 참조하세요 GetProperties.

부모 사용자 지정 형식 설명자가 생성자에 GetProperties 전달된 CustomTypeDescriptor 경우 메서드는 부모의 해당 메서드를 호출합니다.

추가 정보

적용 대상