Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns the item information for the specified data object.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetItemInfo ( _
pDO As IDataObject, _
<OutAttribute> ptif As TBXITEMINFO() _
) As Integer
int GetItemInfo(
IDataObject pDO,
TBXITEMINFO[] ptif
)
int GetItemInfo(
[InAttribute] IDataObject^ pDO,
[OutAttribute] array<TBXITEMINFO>^ ptif
)
abstract GetItemInfo :
pDO:IDataObject *
ptif:TBXITEMINFO[] byref -> int
function GetItemInfo(
pDO : IDataObject,
ptif : TBXITEMINFO[]
) : int
Parameters
pDO
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject[in] Data object for which to return item information.
ptif
Type: array<Microsoft.VisualStudio.Shell.Interop.TBXITEMINFO[][out] Item information. For more information, see TBXITEMINFO structure.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsToolboxDataProvider::GetItemInfo(
[in]IDataObject* pDO,
[out]PTBXITEMINFO ptif
);
.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.