Share via


RuleUpdateAction.Path Proprietà

Definizione

Ottiene o imposta il percorso dell'oggetto RuleUpdateAction.

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public string Path { get; set; }
member this.Path : string with get, set
Public Property Path As String

Valore della proprietà

Percorso dell'oggetto RuleUpdateAction.

Commenti

Path è una stringa che rappresenta il nome del campo o della proprietà che viene modificata. Il carattere "/" viene utilizzato come separatore. Per indicare che la proprietà this.SomeProperty è stata modificata, la proprietà sarà "this/SomeProperty". È possibile specificare il valore modificato tanto dettagliatamente quanto lo si desidera (ad esempio, se si modifica solo this.SomeProperty/SomeOtherProperty, è possibile specificare "this/SomeProperty/SomeOtherProperty"). Nel secondo caso, le altre regole che utilizzano this.SomeProperty/AnyOtherProperty non verranno rivalutate.

Per specificare che tutti i campi e proprietà sono stati modificati, aggiungere "*" alla fine del percorso. Ad esempio, "this/SomeProperty/*" indica che tutti i campi e le proprietà in this.SomeProperty sono stati modificati. Pertanto, tutte le regole che utilizzano qualsiasi campo o proprietà in this.SomeProperty saranno rivalutate.

Nota

Se il set di regole viene eseguito con ChainingBehavior impostata su None, l'azione verrà ignorata.

Si applica a