Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the CreationToolAttribute class.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
toolType As Type _
)
public CreationToolAttribute(
Type toolType
)
public:
CreationToolAttribute(
Type^ toolType
)
new :
toolType:Type -> CreationToolAttribute
public function CreationToolAttribute(
toolType : Type
)
Parameters
- toolType
Type: System.Type
The type of tool this attribute describes. You can specify nulla null reference (Nothing in Visual Basic) to prevent a CreationTool base class from surfacing.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | toolType does not derive from CreationTool. |
.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
Microsoft.Windows.Design.Interaction Namespace