SPFile.IconUrl property

Gets the URL to the icon that is associated with the file.

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

Syntax

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

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

Property value

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

See also

Reference

SPFile class

SPFile members

Microsoft.SharePoint namespace