Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Initializes a new instance of the NewItemTypesAttribute class.
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[]
)
Parameters
- types
Type: array<System.Type[]
An array of Type objects that this attribute declares as being valid new item types.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | types is nulla null reference (Nothing in Visual Basic) or empty. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
NewItemTypesAttribute Overload
Microsoft.Windows.Design.PropertyEditing Namespace