Package.IVsToolboxItemProvider.GetItemContent Method
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Private Function GetItemContent ( _
itemId As String, _
format As UShort, _
<OutAttribute> ByRef global As IntPtr _
) As Integer Implements IVsToolboxItemProvider.GetItemContent
'Usage
Dim instance As Package
Dim itemId As String
Dim format As UShort
Dim global As IntPtr
Dim returnValue As Integer
returnValue = CType(instance, IVsToolboxItemProvider).GetItemContent(itemId, _
format, global)
int IVsToolboxItemProvider.GetItemContent(
string itemId,
ushort format,
out IntPtr global
)
private:
virtual int GetItemContent(
String^ itemId,
unsigned short format,
[OutAttribute] IntPtr% global
) sealed = IVsToolboxItemProvider::GetItemContent
private abstract GetItemContent :
itemId:string *
format:uint16 *
global:IntPtr byref -> int
private override GetItemContent :
itemId:string *
format:uint16 *
global:IntPtr byref -> int
JScript does not support explicit interface implementations.
Parameters
- itemId
Type: System.String
- format
Type: System.UInt16
- global
Type: System.IntPtr%
Return Value
Type: System.Int32
Implements
IVsToolboxItemProvider.GetItemContent(String, UInt16, IntPtr%)
.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.