NativeImageList.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
'Declaración
Protected Overrides Function RealizeImage ( _
index As Integer _
) As BitmapSource
protected override BitmapSource RealizeImage(
int index
)
Parameters
- index
Type: System.Int32
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.