PropertyDescriptor.GetChildProperties 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
를 반환합니다 PropertyDescriptorCollection.
오버로드
| Name | Description |
|---|---|
| GetChildProperties() |
기본값 PropertyDescriptorCollection을 반환합니다. |
| GetChildProperties(Attribute[]) |
PropertyDescriptorCollection 지정된 특성 배열을 필터로 사용하여 반환합니다. |
| GetChildProperties(Object) |
PropertyDescriptorCollection 지정된 개체에 대한 값을 반환합니다. |
| GetChildProperties(Object, Attribute[]) |
PropertyDescriptorCollection 지정된 특성 배열을 필터로 사용하여 지정된 개체에 대한 값을 반환합니다. |
GetChildProperties()
기본값 PropertyDescriptorCollection을 반환합니다.
public:
System::ComponentModel::PropertyDescriptorCollection ^ GetChildProperties();
public System.ComponentModel.PropertyDescriptorCollection GetChildProperties();
member this.GetChildProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
Public Function GetChildProperties () As PropertyDescriptorCollection
반품
속성 설명자의 컬렉션입니다.
설명
이 메서드는 매개 변수와 filter 매개 변수를 모두 instance 전달합니다null.
매개 변수가 instance 있는 경우 컨테이너가 속성을 추가하거나 제거할 수 있으므로 매개 변수의 속성은 클래스의 instance 속성과 다를 수 있습니다.
매개 변수는 filter 혼합 Type 및 개체를 Attribute 사용할 수 있습니다. 필터링은 다음 규칙에 의해 정의됩니다.
속성에 동일한 클래스가 Attribute 없으면 반환된 배열에 속성이 포함되지 않습니다.
특성이 인스턴스 Attribute인 경우 속성은 반환된 배열에 포함할 정확한 일치 항목이어야 합니다.
기본 속성을 지정 Attribute 하고 기본 속성인 경우 속성에 인스턴스 Attribute 가 없더라도 반환된 배열에 포함됩니다.
추가 정보
적용 대상
GetChildProperties(Attribute[])
PropertyDescriptorCollection 지정된 특성 배열을 필터로 사용하여 반환합니다.
public:
System::ComponentModel::PropertyDescriptorCollection ^ GetChildProperties(cli::array <Attribute ^> ^ filter);
public System.ComponentModel.PropertyDescriptorCollection GetChildProperties(Attribute[] filter);
member this.GetChildProperties : Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Function GetChildProperties (filter As Attribute()) As PropertyDescriptorCollection
매개 변수
반품
지정된 특성과 일치하는 속성이 있는 A PropertyDescriptorCollection 입니다.
설명
이 메서드는 매개 변수를 instance 전달합니다null.
매개 변수가 instance 있는 경우 instance 사이트에서 속성을 추가하거나 제거할 수 있으므로 매개 변수의 속성은 클래스의 속성과 다를 수 있습니다.
매개 변수는 filter 혼합 Type 및 개체를 Attribute 사용할 수 있습니다. 필터링은 다음 규칙에 의해 정의됩니다.
속성에 동일한 클래스가 Attribute 없으면 반환된 배열에 속성이 포함되지 않습니다.
특성이 인스턴스 Attribute인 경우 속성은 반환된 배열에 포함할 정확한 일치 항목이어야 합니다.
인스턴스를 Attribute 지정하고 기본 속성인 경우 속성에 인스턴스가 없더라도 반환된 배열에 Attribute 포함됩니다.
추가 정보
적용 대상
GetChildProperties(Object)
PropertyDescriptorCollection 지정된 개체에 대한 값을 반환합니다.
public:
System::ComponentModel::PropertyDescriptorCollection ^ GetChildProperties(System::Object ^ instance);
public System.ComponentModel.PropertyDescriptorCollection GetChildProperties(object instance);
member this.GetChildProperties : obj -> System.ComponentModel.PropertyDescriptorCollection
Public Function GetChildProperties (instance As Object) As PropertyDescriptorCollection
매개 변수
- instance
- Object
속성을 가져올 구성 요소입니다.
반품
지정된 구성 요소에 대한 속성이 있는 A PropertyDescriptorCollection 입니다.
설명
이 메서드는 매개 변수를 filter 전달합니다null.
매개 변수가 instance 있는 경우 instance 사이트에서 속성을 추가하거나 제거할 수 있으므로 매개 변수의 속성은 클래스의 속성과 다를 수 있습니다.
매개 변수는 filter 혼합 Type 및 개체를 Attribute 사용할 수 있습니다. 필터링은 다음 규칙에 의해 정의됩니다.
속성에 동일한 클래스가 Attribute 없으면 반환된 배열에 속성이 포함되지 않습니다.
특성이 인스턴스 Attribute인 경우 속성은 반환된 배열에 포함할 정확한 일치 항목이어야 합니다.
인스턴스를 Attribute 지정하고 기본 속성인 경우 속성에 인스턴스가 없더라도 반환된 배열에 Attribute 포함됩니다.
추가 정보
적용 대상
GetChildProperties(Object, Attribute[])
PropertyDescriptorCollection 지정된 특성 배열을 필터로 사용하여 지정된 개체에 대한 값을 반환합니다.
public:
virtual System::ComponentModel::PropertyDescriptorCollection ^ GetChildProperties(System::Object ^ instance, cli::array <Attribute ^> ^ filter);
public virtual System.ComponentModel.PropertyDescriptorCollection GetChildProperties(object instance, Attribute[] filter);
abstract member GetChildProperties : obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
override this.GetChildProperties : obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overridable Function GetChildProperties (instance As Object, filter As Attribute()) As PropertyDescriptorCollection
매개 변수
- instance
- Object
속성을 가져올 구성 요소입니다.
반품
PropertyDescriptorCollection 지정된 구성 요소의 지정된 특성과 일치하는 속성이 있는 A입니다.
설명
매개 변수가 instance 있는 경우 instance 사이트에서 속성을 추가하거나 제거할 수 있으므로 매개 변수의 속성은 클래스의 속성과 다를 수 있습니다.
매개 변수는 filter 혼합 Type 및 개체를 Attribute 사용할 수 있습니다. 필터링은 다음 규칙에 의해 정의됩니다.
속성에 동일한 클래스가 Attribute 없으면 반환된 배열에 속성이 포함되지 않습니다.
특성이 인스턴스 Attribute인 경우 속성은 반환된 배열에 포함할 정확한 일치 항목이어야 합니다.
인스턴스를 Attribute 지정하고 기본 속성인 경우 속성에 인스턴스가 없더라도 반환된 배열에 Attribute 포함됩니다.
일반적으로 자식 속성은 이 속성에서 반환된 GetProperties 멤버를 TypeConverter 구현하여 반환되어야 합니다.