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
'Declaration
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
)
public:
InstalledToolboxItemInfo(
String^ typeName,
AssemblyName^ assemblyName,
IEnumerable<KeyValuePair<String^, String^>>^ customProperties
)
new :
typeName:string *
assemblyName:AssemblyName *
customProperties:IEnumerable<KeyValuePair<string, string>> -> InstalledToolboxItemInfo
public function InstalledToolboxItemInfo(
typeName : String,
assemblyName : AssemblyName,
customProperties : IEnumerable<KeyValuePair<String, String>>
)
Parameters
typeName
Type: System.StringFull hierarchical type name of the item.
assemblyName
Type: System.Reflection.AssemblyNameAssembly 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.