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
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Vedere anche
Riferimenti
Overload NewItemTypesAttribute
Spazio dei nomi Microsoft.Windows.Design.PropertyEditing