Shell32GetFileDefaultIcon Method |
Gets the default icon that is associated with path from the registry.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static string GetFileDefaultIcon(
string path
)
Public Shared Function GetFileDefaultIcon (
path As String
) As String
public:
static String^ GetFileDefaultIcon(
String^ path
)
static member GetFileDefaultIcon :
path : string -> string
Parameters
- path
- Type: SystemString
A path to the file.
Return Value
Type:
StringThe associated file- or protocol-related default icon from the registry or
string.Empty if no association can be found.
See Also