BExplorer.Shell.ImageList.GetIndexOfOverlay C# (CSharp) Method

GetIndexOfOverlay() public method

Retrieves a specified image from the list of images used as overlay masks.
public GetIndexOfOverlay ( int overlayIndex ) : int
overlayIndex int A value of type int that contains the one-based index of the overlay mask.
return int
		public int GetIndexOfOverlay(int overlayIndex) {
			int idx;
			var hresult = this._ImageList.GetOverlayImage(overlayIndex, out idx);
			Marshal.ThrowExceptionForHR(hresult);
			return idx;
		}