InstalledToolboxItemInfo Constructor
Initializes a new instance of the InstalledToolboxItemInfo class.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Public Sub New ( _
typeName As String, _
assemblyName As AssemblyName, _
customProperties As IEnumerable(Of KeyValuePair(Of String, String)) _
)
public InstalledToolboxItemInfo(
string typeName,
AssemblyName assemblyName,
IEnumerable<KeyValuePair<string, string>> customProperties
)
Parameters
- typeName
Type: System.String
Full hierarchical type name of the item.
- assemblyName
Type: System.Reflection.AssemblyName
Assembly name of the item.
- customProperties
Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, String>>
Strings to display in the dialog’s “custom” columns.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The typeName or assemblyName parameters are null. |
Remarks
The customProperties parameter can be null.
.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.