GetSizeOf() public static méthode

Gets the size of.
public static GetSizeOf ( ) : int
Résultat int
Exemple #1
0
 /// <summary>
 /// Gets the size of.
 /// </summary>
 /// <returns>size of this structure</returns>
 public int GetSizeOf()
 {
     if (bitmapPixelDataPix15 != null)
     {
         return(bitmapPixelDataPix15.Length * Pix15.GetSizeOf());
     }
     else if (bitmapPixelDataPix24 != null)
     {
         return(bitmapPixelDataPix24.Length * Pix24.GetSizeOf());
     }
     return(0);
 }