Partager via


ImageConversionHelper.GetBitmapSource Method (Icon)

 

Converts an Icon into a BitmapSource.

Namespace:   Microsoft.WindowsServerSolutions.Common
Assembly:  AdminCommon (in AdminCommon.dll)

Syntax

public static BitmapSource GetBitmapSource(
    Icon iconImage
)
public:
static BitmapSource^ GetBitmapSource(
    Icon^ iconImage
)
Public Shared Function GetBitmapSource (
    iconImage As Icon
) As BitmapSource

Parameters

Return Value

Type: System.Windows.Media.Imaging.BitmapSource

A System.Windows.Media.Imaging.BitmapSource.

See Also

GetBitmapSource Overload
ImageConversionHelper Class
Microsoft.WindowsServerSolutions.Common Namespace

Return to top