IVsToolboxItemProvider::GetItemContent Method (String^, UInt16, IntPtr)
Visual Studio 2015
Returns a global handle to a user interface item's content.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
int GetItemContent( String^ szItemID, unsigned short format, [OutAttribute] IntPtr% pGlobal )
Parameters
- szItemID
-
Type:
System::String^
[in] The item ID.
- format
-
Type:
System::UInt16
[in] The format of the data to return.
- pGlobal
-
Type:
System::IntPtr
[out] A global handle to the item content. This global should be freed by the caller.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: