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
'宣言
Function GetItemInfo ( _
toolboxItem As IDataObject _
) As IInstalledToolboxItemInfo
IInstalledToolboxItemInfo GetItemInfo(
IDataObject toolboxItem
)
Parameters
- toolboxItem
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
Toolbox 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.