Costruttore NewItemTypesAttribute (array<Type )

Inizializza una nuova istanza della classe NewItemTypesAttribute.

Spazio dei nomi:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Sintassi

'Dichiarazione
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[]
)

Parametri

  • types
    Tipo: array<System.Type[]
    Matrice di oggetti Type dichiarati da questo attributo come nuovi tipi di elemento validi.

Eccezioni

Eccezione Condizione
ArgumentNullException

types è nullriferimento null (Nothing in Visual Basic) o vuoto.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

NewItemTypesAttribute Classe

Overload NewItemTypesAttribute

Spazio dei nomi Microsoft.Windows.Design.PropertyEditing

NewItemFactory

Altre risorse

Architettura di modifica delle proprietà

Estensibilità di Progettazione WPF