UIDataSourceCollection.AddItem Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Overridable Function AddItem ( _
item As IVsUIDataSource _
) As UInteger
'Utilisation
Dim instance As UIDataSourceCollection
Dim item As IVsUIDataSource
Dim returnValue As UInteger
returnValue = instance.AddItem(item)
public virtual uint AddItem(
IVsUIDataSource item
)
public:
virtual unsigned int AddItem(
IVsUIDataSource^ item
)
abstract AddItem :
item:IVsUIDataSource -> uint32
override AddItem :
item:IVsUIDataSource -> uint32
public function AddItem(
item : IVsUIDataSource
) : uint
Parameters
Return Value
Type: System.UInt32
.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.