Export (0) Print
Expand All

SPDataSourceViewPropertyDescriptor Class

Windows SharePoint Services 3

Describes properties exposed by the SPDataSourceViewResultItem class.

System.Object
  System.ComponentModel.MemberDescriptor
    System.ComponentModel.PropertyDescriptor
      Microsoft.SharePoint.WebControls.SPDataSourceViewPropertyDescriptor

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

NoteNote

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 http://msdn.microsoft.com/en-us/library/ms172338.aspx.

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.

Community Additions

ADD
Show:
© 2014 Microsoft