Share via


CustomTypeDescriptor 생성자

정의

CustomTypeDescriptor 클래스의 새 인스턴스를 초기화합니다.

오버로드

CustomTypeDescriptor()

CustomTypeDescriptor 클래스의 새 인스턴스를 초기화합니다.

CustomTypeDescriptor(ICustomTypeDescriptor)

부모 사용자 지정 형식 설명자를 사용하여 CustomTypeDescriptor 클래스의 새 인스턴스를 초기화합니다.

CustomTypeDescriptor()

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

CustomTypeDescriptor 클래스의 새 인스턴스를 초기화합니다.

protected:
 CustomTypeDescriptor();
protected CustomTypeDescriptor ();
Protected Sub New ()

설명

이 생성자는 매개 변수를 사용하여 다른 CustomTypeDescriptor.CustomTypeDescriptor 생성자를 호출하는 것과 같습니다 null.

이 생성자를 사용하여 CustomTypeDescriptor 만든 의 모든 메서드는 기본값을 반환합니다.

추가 정보

적용 대상

CustomTypeDescriptor(ICustomTypeDescriptor)

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

부모 사용자 지정 형식 설명자를 사용하여 CustomTypeDescriptor 클래스의 새 인스턴스를 초기화합니다.

protected:
 CustomTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent);
protected CustomTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent);
protected CustomTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor? parent);
new System.ComponentModel.CustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor -> System.ComponentModel.CustomTypeDescriptor
Protected Sub New (parent As ICustomTypeDescriptor)

매개 변수

parent
ICustomTypeDescriptor

부모 사용자 지정 형식 설명자입니다.

설명

매개 변수가 이 parentnull면 모든 CustomTypeDescriptor 메서드가 기본값을 반환합니다. 그렇지 않으면 모든 CustomTypeDescriptor 메서드가 의 parent메서드에 위임됩니다.

대부분의 CustomTypeDescriptor 메서드는 기본적으로 반환 null 됩니다. 다음 표에서는 기본적으로 반환되지 않는 메서드의 반환 null 값을 보여 줍니다.

메서드 기본 반환 값
GetAttributes 빈 특성 컬렉션(AttributeCollection.Empty)입니다.
GetConverter 기본 TypeConverter instance.
GetEvents 빈 이벤트 컬렉션(EventDescriptorCollection.Empty)입니다.
GetProperties 빈 속성 컬렉션(PropertyDescriptorCollection.Empty)입니다.

추가 정보

적용 대상