Compartilhar via


XsltListViewWebPart.DataSourceMode Property

Gets or sets a value that specifies the type of data to query.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property DataSourceMode As SPDataSourceMode
    Get
    Set
'Usage
Dim instance As XsltListViewWebPart
Dim value As SPDataSourceMode

value = instance.DataSourceMode

instance.DataSourceMode = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public SPDataSourceMode DataSourceMode { get; set; }

Property Value

Type: Microsoft.SharePoint.WebControls.SPDataSourceMode
A value that specifies the type of data to query. The default value is SPDataSourceMode.List

See Also

Reference

XsltListViewWebPart Class

XsltListViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace