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.IntPtrPointer 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.