Share via


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetDefaultProperty Method

Retrieves the default property for the specified object.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Private Function GetDefaultProperty As PropertyDescriptor 
    Implements ICustomTypeDescriptor.GetDefaultProperty
'Usage
Dim instance As AdoDotNetConnectionProperties 
Dim returnValue As PropertyDescriptor 

returnValue = CType(instance, ICustomTypeDescriptor).GetDefaultProperty()
PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
private:
virtual PropertyDescriptor^ GetDefaultProperty() sealed = ICustomTypeDescriptor::GetDefaultProperty
JScript does not support explicit interface implementations.

Return Value

Type: System.ComponentModel.PropertyDescriptor
A PropertyDescriptor representing the default property for this object, or nulla null reference (Nothing in Visual Basic) if this object does not have properties.

Implements

ICustomTypeDescriptor.GetDefaultProperty()

Remarks

This method provides an implementation of the GetDefaultProperty method. For more information, see the GetDefaultProperty method in the .NET Framework class library.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

AdoDotNetConnectionProperties Members

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace