Share via


DataConnectionProperties.ICustomTypeDescriptor.GetDefaultProperty Method

Retrieves the default property for the specified object.

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

Syntax

'Declaration
Private Function GetDefaultProperty As PropertyDescriptor 
    Implements ICustomTypeDescriptor.GetDefaultProperty
PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
private:
virtual PropertyDescriptor^ GetDefaultProperty() sealed = ICustomTypeDescriptor::GetDefaultProperty
private abstract GetDefaultProperty : unit -> PropertyDescriptor  
private override GetDefaultProperty : unit -> PropertyDescriptor
JScript does not support explicit interface implementations.

Return Value

Type: System.ComponentModel.PropertyDescriptor
Returns a PropertyDescriptor representing the default property for this object, or returns 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

Microsoft.VisualStudio.Data Namespace