Share via


SPDataSourceViewResultItem.ICustomTypeDescriptor.GetDefaultProperty method

Returns the default property for this instance of a component.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

returnValue = CType(instance, ICustomTypeDescriptor).GetDefaultProperty()
PropertyDescriptorICustomTypeDescriptor.GetDefaultProperty()

Return value

Type: System.ComponentModel.PropertyDescriptor
A [PropertyDescriptor] that represents the default property for this object, or null if this object does not have properties.

Implements

ICustomTypeDescriptor.GetDefaultProperty()

See also

Reference

SPDataSourceViewResultItem class

SPDataSourceViewResultItem members

Microsoft.SharePoint.WebControls namespace