CustomTypeDescriptor.GetProperties 메서드

정의

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

오버로드

GetProperties()

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

GetProperties(Attribute[])

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

설명

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

GetProperties()

Source:
CustomTypeDescriptor.cs
Source:
CustomTypeDescriptor.cs
Source:
CustomTypeDescriptor.cs

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

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입니다.

구현

설명

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

추가 정보

적용 대상

GetProperties(Attribute[])

Source:
CustomTypeDescriptor.cs
Source:
CustomTypeDescriptor.cs
Source:
CustomTypeDescriptor.cs

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

public:
 virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(cli::array <Attribute ^> ^ attributes);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties (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.

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

추가 정보

적용 대상