IToolboxItemCreator.CreateToolboxItem Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen türden bir araç kutusu öğesi oluşturur.
public:
Microsoft::VisualStudio::OLE::Interop::IDataObject ^ CreateToolboxItem(System::String ^ typeName, System::Reflection::AssemblyName ^ assemblyName, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ itemProperties, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ extraInfo);
public Microsoft.VisualStudio.OLE.Interop.IDataObject CreateToolboxItem(string typeName, System.Reflection.AssemblyName assemblyName, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> itemProperties, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> extraInfo);
abstract member CreateToolboxItem : string * System.Reflection.AssemblyName * seq<System.Collections.Generic.KeyValuePair<string, string>> * seq<System.Collections.Generic.KeyValuePair<string, string>> -> Microsoft.VisualStudio.OLE.Interop.IDataObject
Public Function CreateToolboxItem (typeName As String, assemblyName As AssemblyName, itemProperties As IEnumerable(Of KeyValuePair(Of String, String)), extraInfo As IEnumerable(Of KeyValuePair(Of String, String))) As IDataObject
Parametreler
- typeName
- String
Tam hiyerarşik tür adı.
- assemblyName
- AssemblyName
Bulunduğu derleme typeName .
- itemProperties
- IEnumerable<KeyValuePair<String,String>>
Bu öğe için IToolboxItemInfo.GetPropertyValue'dan alınan özellikler.
- extraInfo
- IEnumerable<KeyValuePair<String,String>>
Bu öğe için IToolboxItemInfo.ExtraInfo'dan döndürülen koleksiyon.
Döndürülenler
Araç kutusu öğesi.
Açıklamalar
Bu yöntem bir arka plan iş parçacığında çağrılabilir.