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

'宣言
Private Function GetDefaultProperty As PropertyDescriptor
    Implements ICustomTypeDescriptor.GetDefaultProperty
'使用
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 a 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.

Permissions

See Also

Reference

DataConnectionProperties Class

DataConnectionProperties Members

Microsoft.VisualStudio.Data.Framework Namespace