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 UsesItemPolicyAttribute class.
Namespace: Microsoft.Windows.Design.Policies
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
itemPolicyType As Type _
)
public UsesItemPolicyAttribute(
Type itemPolicyType
)
public:
UsesItemPolicyAttribute(
Type^ itemPolicyType
)
new :
itemPolicyType:Type -> UsesItemPolicyAttribute
public function UsesItemPolicyAttribute(
itemPolicyType : Type
)
Parameters
- itemPolicyType
Type: System.Type
The type of policy this extension can be associated with.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | itemPolicyType is nulla null reference (Nothing in Visual Basic). |
.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.Policies Namespace