Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets a copy of the bitmap for the specified item. The caller is responsible for freeing the bitmap using DeleteObject() or its equivalent.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function GetItemBitmap ( _
pDataObject As IDataObject, _
<OutAttribute> ByRef pBitmap As IntPtr _
) As Integer
int GetItemBitmap(
IDataObject pDataObject,
out IntPtr pBitmap
)
int GetItemBitmap(
[InAttribute] IDataObject^ pDataObject,
[OutAttribute] IntPtr% pBitmap
)
abstract GetItemBitmap :
pDataObject:IDataObject *
pBitmap:IntPtr byref -> int
function GetItemBitmap(
pDataObject : IDataObject,
pBitmap : IntPtr
) : int
Parameters
pDataObject
Type: Microsoft.VisualStudio.OLE.Interop.IDataObjectThe item as an IDataObject.
pBitmap
Type: IntPtr%[out] A pointer to the bitmap.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.