Export (0) Print
Expand All

ContentByQueryWebPart constructor (String, String, String)

Initializes a new instance of a Content Query Web Part object with default XSL.

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

'Declaration
Public Sub New ( _
	defaultMainXsl As String, _
	defaultHeaderXsl As String, _
	defaultItemXsl As String _
)
'Usage
Dim defaultMainXsl As String
Dim defaultHeaderXsl As String
Dim defaultItemXsl As String

Dim instance As New ContentByQueryWebPart(defaultMainXsl, _
	defaultHeaderXsl, defaultItemXsl)

Parameters

defaultMainXsl
Type: System.String

Header XSL to use if HeaderXslLink is not specified.

defaultHeaderXsl
Type: System.String

Item XSL to use if ItemXslLink is not specified.

defaultItemXsl
Type: System.String

Main XSL to use if MainXslLink is not specified.

Community Additions

ADD
Show:
© 2014 Microsoft