Freigeben über


InstalledToolboxItemInfo Constructor

Initializes a new instance of the InstalledToolboxItemInfo class.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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: String

    Full hierarchical type name of the item.

  • assemblyName
    Type: AssemblyName

    Assembly name of the item.

  • customProperties
    Type: 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

See Also

Reference

InstalledToolboxItemInfo Class

Microsoft.VisualStudio.Shell Namespace