Share via


SPSearchResult.IconUrl Property

Deprecated. Gets the URL of the icon corresponding to the item.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property IconUrl As String
    Get
'Usage
Dim instance As SPSearchResult
Dim value As String

value = instance.IconUrl
public string IconUrl { get; }

Property Value

Type: System.String
A string that contains the URL of the icon.

Remarks

For lists and list items, this property pertains to the icon that is used to represent the list definition or list template in the user interface. For documents, this property pertains to the icon associated with the file name extension.

See Also

Reference

SPSearchResult Class

SPSearchResult Members

Microsoft.SharePoint Namespace