WpfPropertyValue.CreateIconObject Method
Microsoft internal use only.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function CreateIconObject ( _
source As ImageSource _
) As IVsUIObject
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
- 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.