NewItemTypesAttribute-Konstruktor (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 ( _
    type As Type _
)
public NewItemTypesAttribute(
    Type type
)
public:
NewItemTypesAttribute(
    Type^ type
)
new : 
        type:Type -> NewItemTypesAttribute
public function NewItemTypesAttribute(
    type : Type
)

Parameter

  • type
    Typ: System.Type
    Ein Type-Objekt, das von diesem Attribut als gültiger neuer Elementtyp deklariert wird.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

type hat den Wert nullNULL-Verweis (Nothing in Visual Basic).

.NET Framework-Sicherheit

Siehe auch

Referenz

NewItemTypesAttribute Klasse

NewItemTypesAttribute-Überladung

Microsoft.Windows.Design.PropertyEditing-Namespace

NewItemFactory

Weitere Ressourcen

Eigenschaftenbearbeitungsarchitektur

WPF-Designer-Erweiterbarkeit