TypeDescriptor.GetDefaultProperty 메서드

정의

구성 요소에 대한 기본 속성을 반환합니다.

오버로드

GetDefaultProperty(Type)

지정된 구성 요소 형식의 기본 속성을 반환합니다.

GetDefaultProperty(Object, Boolean)

사용자 지정 설명자가 있는 지정된 구성 요소에 대한 기본 속성을 반환합니다.

GetDefaultProperty(Object)

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

GetDefaultProperty(Type)

Source:
TypeDescriptor.cs
Source:
TypeDescriptor.cs
Source:
TypeDescriptor.cs

지정된 구성 요소 형식의 기본 속성을 반환합니다.

public:
 static System::ComponentModel::PropertyDescriptor ^ GetDefaultProperty(Type ^ componentType);
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

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

반환

기본 속성을 사용하는 PropertyDescriptor 이거나, 속성이 없으면 null 입니다.

설명

개체의 instance 없는 경우에만 이 메서드 버전을 호출합니다.

경우는 componentType 매개 변수가 null,이 메서드는 반환 null합니다.

추가 정보

적용 대상

GetDefaultProperty(Object, Boolean)

Source:
TypeDescriptor.cs
Source:
TypeDescriptor.cs
Source:
TypeDescriptor.cs

사용자 지정 설명자가 있는 지정된 구성 요소에 대한 기본 속성을 반환합니다.

public:
 static System::ComponentModel::PropertyDescriptor ^ GetDefaultProperty(System::Object ^ component, bool noCustomTypeDesc);
public static System.ComponentModel.PropertyDescriptor GetDefaultProperty (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)

Source:
TypeDescriptor.cs
Source:
TypeDescriptor.cs
Source:
TypeDescriptor.cs

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

public:
 static System::ComponentModel::PropertyDescriptor ^ GetDefaultProperty(System::Object ^ component);
public static System.ComponentModel.PropertyDescriptor GetDefaultProperty (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합니다.

추가 정보

적용 대상