DroidExplorer.Core.UI.SystemImageList.IconIndex C# (CSharp) Method

IconIndex() public method

Return the index of the icon for the specified file, always using the cached version where possible.
public IconIndex ( string fileName ) : int
fileName string Filename to get icon for
return int
		public int IconIndex ( string fileName ) {
			return IconIndex ( fileName, false );
		}

Same methods

SystemImageList::IconIndex ( string fileName, bool forceLoadFromDisk ) : int
SystemImageList::IconIndex ( string fileName, bool forceLoadFromDisk, ShellIconStateConstants iconState ) : int

Usage Example

Example #1
0
 private int GetSystemIconIndex(SystemImageList sysImgList, string file)
 {
     return(sysImgList.IconIndex(file, false));
 }
All Usage Examples Of DroidExplorer.Core.UI.SystemImageList::IconIndex