ImageHelper.ImageSourcesFromBitmap Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function ImageSourcesFromBitmap ( _
bitmap As Bitmap _
) As List(Of ImageSource)
public static List<ImageSource> ImageSourcesFromBitmap(
Bitmap bitmap
)
public:
static List<ImageSource^>^ ImageSourcesFromBitmap(
Bitmap^ bitmap
)
static member ImageSourcesFromBitmap :
bitmap:Bitmap -> List<ImageSource>
public static function ImageSourcesFromBitmap(
bitmap : Bitmap
) : List<ImageSource>
Parameters
- bitmap
Type: System.Drawing.Bitmap
Return Value
Type: System.Collections.Generic.List<ImageSource>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.