DbConnectionStringBuilder.ICustomTypeDescriptor.GetDefaultProperty Metódus

Definíció

Az összetevő jelen példányának alapértelmezett tulajdonságát adja vissza.

 virtual System::ComponentModel::PropertyDescriptor ^ System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty() = System::ComponentModel::ICustomTypeDescriptor::GetDefaultProperty;
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("PropertyDescriptor's PropertyType cannot be statically discovered.")]
System.ComponentModel.PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty();
System.ComponentModel.PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty();
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("PropertyDescriptor's PropertyType cannot be statically discovered.")>]
abstract member System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty : unit -> System.ComponentModel.PropertyDescriptor
override this.System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty : unit -> System.ComponentModel.PropertyDescriptor
abstract member System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty : unit -> System.ComponentModel.PropertyDescriptor
override this.System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty : unit -> System.ComponentModel.PropertyDescriptor
Function GetDefaultProperty () As PropertyDescriptor Implements ICustomTypeDescriptor.GetDefaultProperty

Válaszok

Az PropertyDescriptor objektum alapértelmezett tulajdonságát képviselő tulajdonság, vagy null ha az objektum nem rendelkezik tulajdonságokkal.

Megvalósítás

Attribútumok

Megjegyzések

Ez a tag egy explicit felületi tag implementációja. Csak akkor használható, ha a DbConnectionStringBuilder példányt egy ICustomTypeDescriptor felületre öntötték.

Ennek a tagnak a leírását lásd GetDefaultProperty: .

A következőre érvényes:

Lásd még