IVsToolboxItemProvider.GetItemContent Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Function GetItemContent ( _
szItemID As String, _
format As UShort, _
<OutAttribute> ByRef pGlobal As IntPtr _
) As Integer
'Utilisation
Dim instance As IVsToolboxItemProvider
Dim szItemID As String
Dim format As UShort
Dim pGlobal As IntPtr
Dim returnValue As Integer
returnValue = instance.GetItemContent(szItemID, _
format, pGlobal)
int GetItemContent(
string szItemID,
ushort format,
out IntPtr pGlobal
)
int GetItemContent(
[InAttribute] String^ szItemID,
[InAttribute] unsigned short format,
[OutAttribute] IntPtr% pGlobal
)
abstract GetItemContent :
szItemID:string *
format:uint16 *
pGlobal:IntPtr byref -> int
function GetItemContent(
szItemID : String,
format : ushort,
pGlobal : IntPtr
) : int
Parameters
- szItemID
Type: System.String
- format
Type: System.UInt16
- pGlobal
Type: System.IntPtr%
Return Value
Type: System.Int32
.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.
See Also
Reference
IVsToolboxItemProvider Interface