NewItemTypesAttribute-Konstruktor (array<Type )

Initialisiert eine neue Instanz der NewItemTypesAttribute-Klasse.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Sub New ( _
    ParamArray types As Type() _
)
public NewItemTypesAttribute(
    params Type[] types
)
public:
NewItemTypesAttribute(
    ... array<Type^>^ types
)
new : 
        types:Type[] -> NewItemTypesAttribute
public function NewItemTypesAttribute(
    ... types : Type[]
)

Parameter

  • types
    Typ: array<System.Type[]
    Ein Array von Type-Objekten, die von diesem Attribut als gültige neue Elementtypen deklariert werden.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

types hat den Wert nullNULL-Verweis (Nothing in Visual Basic) oder ist leer.

.NET Framework-Sicherheit

Siehe auch

Referenz

NewItemTypesAttribute Klasse

NewItemTypesAttribute-Überladung

Microsoft.Windows.Design.PropertyEditing-Namespace

NewItemFactory

Weitere Ressourcen

Eigenschaftenbearbeitungsarchitektur

WPF-Designer-Erweiterbarkeit