Share via


SPDataSourceViewResultItem.ICustomTypeDescriptor.GetProperties method (Attribute[])

Returns the properties for this instance of a component using the attribute array as a filter.

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

Syntax

'Declaration
Private Function GetProperties ( _
    attribute As Attribute() _
) As PropertyDescriptorCollection Implements ICustomTypeDescriptor.GetProperties
'Usage
Dim instance As SPDataSourceViewResultItem
Dim attribute As Attribute()
Dim returnValue As PropertyDescriptorCollection

returnValue = CType(instance, ICustomTypeDescriptor).GetProperties(attribute)
PropertyDescriptorCollectionICustomTypeDescriptor.GetProperties(
    Attribute[] attribute
)

Parameters

  • attribute
    Type: []

    An array of type [Attribute] that is used as a filter.

Return value

Type: System.ComponentModel.PropertyDescriptorCollection
An array of type [Attribute] that represents the filtered properties for this component instance.

Implements

ICustomTypeDescriptor.GetProperties([])

See also

Reference

SPDataSourceViewResultItem class

SPDataSourceViewResultItem members

GetProperties overload

Microsoft.SharePoint.WebControls namespace