Partager via


DataResultBase.ColumnWidths, propriété (Microsoft.SharePoint.Portal.WebControls)

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

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<ResourcesAttribute("QueryResults_ColumnWidths_PropertyName", "Webpart__Custome_Property_Text", "QueryResults_ColumnWidths_PropertyDescription")> _
<WebPartStorageAttribute(Storage.Shared)> _
<DefaultValueAttribute("")> _
Public Property ColumnWidths As String
'Utilisation
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)] 
[DefaultValueAttribute("")] 
public string ColumnWidths { get; set; }

Valeur de la propriété

A string that represents the width of a column in the search results page.

Voir aussi

Référence

DataResultBase, classe
Membres DataResultBase
Microsoft.SharePoint.Portal.WebControls, espace de noms