ICustomTypeDescriptor.GetDefaultProperty Yöntem

Tanım

Bir bileşenin bu örneği için varsayılan özelliği döndürür.

public:
 System::ComponentModel::PropertyDescriptor ^ GetDefaultProperty();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("PropertyDescriptor's PropertyType cannot be statically discovered.")]
public System.ComponentModel.PropertyDescriptor? GetDefaultProperty();
public System.ComponentModel.PropertyDescriptor GetDefaultProperty();
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("PropertyDescriptor's PropertyType cannot be statically discovered.")>]
abstract member GetDefaultProperty : unit -> System.ComponentModel.PropertyDescriptor
abstract member GetDefaultProperty : unit -> System.ComponentModel.PropertyDescriptor
Public Function GetDefaultProperty () As PropertyDescriptor

Döndürülenler

PropertyDescriptor Bu nesnenin varsayılan özelliğini temsil eden veya null bu nesnenin özellikleri yoksa.

Öznitelikler

Şunlara uygulanır

Ayrıca bkz.