Package.IVsToolboxItemProvider.GetItemContent Method

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

声明
Private Function GetItemContent ( _
    itemId As String, _
    format As UShort, _
    <OutAttribute> ByRef global As IntPtr _
) As Integer Implements IVsToolboxItemProvider.GetItemContent
用法
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

Return Value

Type: System.Int32

Implements

IVsToolboxItemProvider.GetItemContent(String, UInt16, IntPtr%)

.NET Framework Security

See Also

Reference

Package Class

Package Members

Microsoft.VisualStudio.Shell Namespace