TypeDescriptor.GetDefaultProperty 메서드

정의

구성 요소의 기본 속성을 반환합니다.

오버로드

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

매개 변수

componentType
Type

속성을 가져올 클래스를 나타내는 A Type 입니다.

반품

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.

추가 정보

적용 대상

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.

추가 정보

적용 대상