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)

public ContentByQueryWebPart(
	string defaultMainXsl,
	string defaultHeaderXsl,
	string 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.

Show:
© 2015 Microsoft