Share via


IconHandleImageCache.RealizeImage Method

Microsoft internal use only.

Returns a managed BitmapSource, based on the provided pointer to an unmanaged icon image.

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Protected Overrides Function RealizeImage ( _
    index As IntPtr _
) As BitmapSource
protected override BitmapSource RealizeImage(
    IntPtr index
)
protected:
virtual BitmapSource^ RealizeImage(
    IntPtr index
) override
abstract RealizeImage : 
        index:IntPtr -> BitmapSource  
override RealizeImage : 
        index:IntPtr -> BitmapSource
protected override function RealizeImage(
    index : IntPtr
) : BitmapSource

Parameters

  • index
    Type: System.IntPtr

    Pointer to the unmanaged icon source.

Return Value

Type: System.Windows.Media.Imaging.BitmapSource
The created [BitmapSource].

.NET Framework Security

See Also

Reference

IconHandleImageCache Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace