Udostępnij za pośrednictwem


Metoda ModelingBindingSourceToolboxItem.CreateComponentsCore — (IDesignerHost, IDictionary)

Ten typ ma atrybut SecurityCriticalAttribute, który ogranicza możliwość użycia go do wewnętrznego użycia w programie .NET Framework na potrzeby biblioteki klas technologii Silverlight. Kod aplikacji, w którym jest używany dowolny element członkowski tego typu, powoduje powstanie wyjątku MethodAccessException.

[ZABEZPIECZENIA KRYTYCZNE]

Tworzenie składnika w hosta docelowego

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Shell
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Składnia

'Deklaracja
Protected Overrides Function CreateComponentsCore ( _
    host As IDesignerHost, _
    defaultValues As IDictionary _
) As IComponent()
protected override IComponent[] CreateComponentsCore(
    IDesignerHost host,
    IDictionary defaultValues
)

Parametry

Wartość zwracana

Typ: array<System.ComponentModel.IComponent[]

Zobacz też

Informacje

ModelingBindingSourceToolboxItem Klasa

Przeciążenie CreateComponentsCore

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Shell