Partager via


WpfPropertyValue.CreateIconObject 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 CreateIconObject ( _
    source As ImageSource _
) As IVsUIObject
'Utilisation
Dim source As ImageSource
Dim returnValue As IVsUIObject

returnValue = WpfPropertyValue.CreateIconObject(source)
public static IVsUIObject CreateIconObject(
    ImageSource source
)
public:
static IVsUIObject^ CreateIconObject(
    ImageSource^ source
)
static member CreateIconObject : 
        source:ImageSource -> IVsUIObject 
public static function CreateIconObject(
    source : ImageSource
) : IVsUIObject

Parameters

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject

.NET Framework Security

See Also

Reference

WpfPropertyValue Class

WpfPropertyValue Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace