IconIndex() публичный Метод

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
Результат int
Пример #1
0
 private int GetSystemIconIndex(SystemImageList sysImgList, string file)
 {
     return(sysImgList.IconIndex(file, false));
 }
Пример #2
0
 /// <summary>
 /// Gets the index of the system icon.
 /// </summary>
 /// <param name="sysImgList">The sys img list.</param>
 /// <param name="file">The file.</param>
 /// <returns></returns>
 private int GetSystemIconIndex( SystemImageList sysImgList, string file )
 {
     return sysImgList.IconIndex ( file, false );
 }