Anteckning
Å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.
Creates a name-value pair in which the name is associated with the value.
Inheritance
The ITaskNamedValuePair interface inherits from the IDispatch interface.
Methods
The ITaskNamedValuePair interface has these methods.
| ITaskNamedValuePair::get_Name Gets or sets the name that is associated with a value in a name-value pair. (Get) |
| ITaskNamedValuePair::get_Value Gets or sets the value that is associated with a name in a name-value pair. (Get) |
| ITaskNamedValuePair::put_Name Gets or sets the name that is associated with a value in a name-value pair. (Put) |
| ITaskNamedValuePair::put_Value Gets or sets the value that is associated with a name in a name-value pair. (Put) |
Remarks
When reading or writing your own XML for a task, a name-value pair is specified using the ValueQueries element of the Task Scheduler schema.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | taskschd.h |