IToolboxItemCreator.GetItemInfo Method
Returns information about a control installed on the toolbox.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)
Syntax
'Declaration
Function GetItemInfo ( _
toolboxItem As IDataObject _
) As IInstalledToolboxItemInfo
IInstalledToolboxItemInfo GetItemInfo(
IDataObject toolboxItem
)
IInstalledToolboxItemInfo^ GetItemInfo(
IDataObject^ toolboxItem
)
abstract GetItemInfo :
toolboxItem:IDataObject -> IInstalledToolboxItemInfo
function GetItemInfo(
toolboxItem : IDataObject
) : IInstalledToolboxItemInfo
Parameters
toolboxItem
Type: Microsoft.VisualStudio.OLE.Interop.IDataObjectToolbox item from which to get the information.
Return Value
Type: Microsoft.VisualStudio.Shell.IInstalledToolboxItemInfo
The information about this item, or null if the item is not recognized by this provider.
Remarks
This method can be called on a background thread.
.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.