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)

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