Share via


DataConnectionProperties.ICustomTypeDescriptor.GetDefaultProperty Method

Retrieves the default property for the specified object.

Namespace:  Microsoft.VisualStudio.Data.Framework
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 DataConnectionProperties 
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

DataConnectionProperties Class

DataConnectionProperties Members

Microsoft.VisualStudio.Data.Framework Namespace