WpfPropertyValue.CreateBitmapObject Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Shared Function CreateBitmapObject ( _
source As ImageSource _
) As IVsUIObject
'Utilisation
Dim source As ImageSource
Dim returnValue As IVsUIObject
returnValue = WpfPropertyValue.CreateBitmapObject(source)
public static IVsUIObject CreateBitmapObject(
ImageSource source
)
public:
static IVsUIObject^ CreateBitmapObject(
ImageSource^ source
)
static member CreateBitmapObject :
source:ImageSource -> IVsUIObject
public static function CreateBitmapObject(
source : ImageSource
) : IVsUIObject
Parameters
- source
Type: System.Windows.Media.ImageSource
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject
.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.