Partager 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
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
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

Microsoft.VisualStudio.Data.Framework Namespace