TypeDescriptor.GetDefaultProperty 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
구성 요소의 기본 속성을 반환합니다.
오버로드
| Name | Description |
|---|---|
| GetDefaultProperty(Type) |
지정된 구성 요소 형식의 기본 속성을 반환합니다. |
| GetDefaultProperty(Object, Boolean) |
사용자 지정 형식 설명자를 사용하여 지정된 구성 요소의 기본 속성을 반환합니다. |
| GetDefaultProperty(Object) |
지정된 구성 요소의 기본 속성을 반환합니다. |
GetDefaultProperty(Type)
지정된 구성 요소 형식의 기본 속성을 반환합니다.
public:
static System::ComponentModel::PropertyDescriptor ^ GetDefaultProperty(Type ^ componentType);
public static System.ComponentModel.PropertyDescriptor GetDefaultProperty(Type componentType);
static member GetDefaultProperty : Type -> System.ComponentModel.PropertyDescriptor
Public Shared Function GetDefaultProperty (componentType As Type) As PropertyDescriptor
매개 변수
반품
PropertyDescriptor 기본 속성이 있거나 null 속성이 없는 경우
설명
개체의 인스턴스가 없는 경우에만 이 메서드 버전을 호출합니다.
매개 변수가 componentType 있으면 이 메서드는 null.를 반환합니다 null.
추가 정보
적용 대상
GetDefaultProperty(Object, Boolean)
사용자 지정 형식 설명자를 사용하여 지정된 구성 요소의 기본 속성을 반환합니다.
public:
static System::ComponentModel::PropertyDescriptor ^ GetDefaultProperty(System::Object ^ component, bool noCustomTypeDesc);
public static System.ComponentModel.PropertyDescriptor GetDefaultProperty(object component, bool noCustomTypeDesc);
static member GetDefaultProperty : obj * bool -> System.ComponentModel.PropertyDescriptor
Public Shared Function GetDefaultProperty (component As Object, noCustomTypeDesc As Boolean) As PropertyDescriptor
매개 변수
- component
- Object
기본 속성을 가져올 구성 요소입니다.
- noCustomTypeDesc
- Boolean
true사용자 지정 형식 설명 정보를 고려하지 않는 경우 그렇지 않으면 . false
반품
PropertyDescriptor 기본 속성이 있거나 null 속성이 없는 경우
예외
component 는 크로스 프로세스 원격 개체입니다.
설명
매개 변수가 component 있으면 이 메서드는 null.를 반환합니다 null.
추가 정보
- DefaultPropertyAttribute
- PropertyDescriptor
- ICustomTypeDescriptor
- CreateProperty
- GetProperties
- GetDefaultEvent
적용 대상
GetDefaultProperty(Object)
지정된 구성 요소의 기본 속성을 반환합니다.
public:
static System::ComponentModel::PropertyDescriptor ^ GetDefaultProperty(System::Object ^ component);
public static System.ComponentModel.PropertyDescriptor GetDefaultProperty(object component);
static member GetDefaultProperty : obj -> System.ComponentModel.PropertyDescriptor
Public Shared Function GetDefaultProperty (component As Object) As PropertyDescriptor
매개 변수
- component
- Object
기본 속성을 가져올 구성 요소입니다.
반품
PropertyDescriptor 기본 속성이 있거나 null 속성이 없는 경우
예외
component 는 크로스 프로세스 원격 개체입니다.
설명
매개 변수가 component 있으면 이 메서드는 null.를 반환합니다 null.