共用方式為


SearchResultsBaseWebPart.Xsl Property

Gets or sets the XSL Transformation used for displaying the search results.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Overrides Property Xsl As String
    Get
    Set
'Usage
Dim instance As SearchResultsBaseWebPart
Dim value As String

value = instance.Xsl

instance.Xsl = value
public override string Xsl { get; set; }

Property Value

Type: System.String
The XSL Transformation code.

See Also

Reference

SearchResultsBaseWebPart Class

SearchResultsBaseWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace