Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Set Element

Defines an action in a rule that sets a value for a target.

Syntax

<Set
    ExclusiveApply="{true | false}"
    InvokePolicy="InvokePolicy enumeration"
    Target="ObjectPath element"
    Transformer="object"
    Value="object"
>
    <HandleExceptions />
    <Transformer />
</Set>

Attributes

ExclusiveApply

Specifies whether to continue applying actions to this target after an application by this action. By default, this value is false.

HandleExceptions

Indicates the HandleException exception handler defined for this object.

InvokePolicy

Policy on how the target should be set, which must be a member of the InvokePolicy enumeration. By default, this value is Synchronous.

Target

An object path in the form [ObjectName.Member] that specifies the action target.

Transformer

Indicates a data converter. You can use inline or expanded construction. Possible transformer elements include:

BooleanTransformer

DateTimeTransformer

FormatTransformer

MathTransformer

TimeSpanTransformer

Value

Specifies the value to set.

Requirements

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also

Show:
© 2015 Microsoft