IVsToolboxItemProvider.GetItemContent(String, UInt16, IntPtr) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne un handle global pour le contenu de l'élément d'interface utilisateur.
public:
int GetItemContent(System::String ^ szItemID, System::UInt16 format, [Runtime::InteropServices::Out] IntPtr % pGlobal);
public int GetItemContent (string szItemID, ushort format, out IntPtr pGlobal);
abstract member GetItemContent : string * uint16 * -> int
Public Function GetItemContent (szItemID As String, format As UShort, ByRef pGlobal As IntPtr) As Integer
Paramètres
- szItemID
- String
[in] ID d'élément.
- format
- UInt16
[in] Format des données à retourner.
- pGlobal
- IntPtr
[out] Handle global au contenu de l'élément. Ce total doit être récupéré par l'appelant.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.