MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / FileIcon

Method FileIcon

src/Squirrel/ShellFile.cs:1230–1237  ·  view source on GitHub ↗

Constructs a new, default instance of the FileIcon class. Specify the filename and call GetInfo() to retrieve an icon.

()

Source from the content-addressed store, hash-verified

1228 /// to retrieve an icon.
1229 /// </summary>
1230 public FileIcon()
1231 {
1232 flags = SHGetFileInfoConstants.SHGFI_ICON |
1233 SHGetFileInfoConstants.SHGFI_DISPLAYNAME |
1234 SHGetFileInfoConstants.SHGFI_TYPENAME |
1235 SHGetFileInfoConstants.SHGFI_ATTRIBUTES |
1236 SHGetFileInfoConstants.SHGFI_EXETYPE;
1237 }
1238
1239 /// <summary>
1240 /// Constructs a new instance of the FileIcon class

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected