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
'Declaração
Protected Overrides Function RealizeImage ( _
index As IntPtr _
) As BitmapSource
protected override BitmapSource RealizeImage(
IntPtr index
)
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
- 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.