This documentation is archived and is not being maintained.

SPDataSourceViewPropertyDescriptor Class

Describes properties exposed by the SPDataSourceViewResultItem class.


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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[HostProtectionAttribute(SecurityAction.LinkDemand, SharedState = true)]
public sealed class SPDataSourceViewPropertyDescriptor : PropertyDescriptor


The HostProtectionAttribute attribute applied to this type or member has the following Resources property value: SharedState. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or

This class is used to surface the properties of all types of result item objects that can be returned by the SPDataSourceView class: SPListItem, SPList, and SPWeb.

During data binding the SPDataSourceViewResultItem class is asked for the properties of the result item that it is bound to. When that happens, each of the properties that are returned is an instance of the SPDataSourceViewPropertyDescriptor class.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.