Share via


DataResultBase.ColumnWidths Property

Gets or sets the width of columns in the search results page.

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

Syntax

'Declaration
<ResourcesAttribute("QueryResults_ColumnWidths_PropertyName", "Webpart__Custome_Property_Text",  _
    "QueryResults_ColumnWidths_PropertyDescription")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ColumnWidths As String
    Get
    Set
'Usage
Dim instance As DataResultBase
Dim value As String

value = instance.ColumnWidths

instance.ColumnWidths = value
[ResourcesAttribute("QueryResults_ColumnWidths_PropertyName", "Webpart__Custome_Property_Text", 
    "QueryResults_ColumnWidths_PropertyDescription")]
[WebPartStorageAttribute(Storage.Shared)]
public string ColumnWidths { get; set; }

Property Value

Type: System.String
A string that represents the width of a column in the search results page.

See Also

Reference

DataResultBase Class

DataResultBase Members

Microsoft.SharePoint.Portal.WebControls Namespace