Condividi tramite


XsltListViewWebPart.HasOverrideSelectCommand Property

Gets or sets a Boolean value that indicates whether the OverrideSelectCommand value of the XSL style sheet used by this Web Part should be set.

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

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.None)> _
Public Property HasOverrideSelectCommand As Boolean
    Get
    Set
'Usage
Dim instance As XsltListViewWebPart
Dim value As Boolean

value = instance.HasOverrideSelectCommand

instance.HasOverrideSelectCommand = value
[WebBrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.None)]
public bool HasOverrideSelectCommand { get; set; }

Property Value

Type: System.Boolean
true specifies that the SelectCommand string belonging to the data source used by this XsltListViewWebPart object is to be collected, and that the OverrideSelectCommand parameter of the XSL style sheet used by this Web Part should be set; otherwise, a value of false specifies that the OverrideSelectCommand parameter will not be set.

See Also

Reference

XsltListViewWebPart Class

XsltListViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace