DbConnectionStringBuilder.ICustomTypeDescriptor.GetDefaultProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the default property for this instance of a component.
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
Returns
A PropertyDescriptor that represents the default property for this object, or null if this object does not have properties.
Implements
- Attributes
Remarks
This member is an explicit interface member implementation. It can be used only when the DbConnectionStringBuilder instance is cast to an ICustomTypeDescriptor interface.
For a description of this member, see GetDefaultProperty.