Editar

Partilhar via


JsonPropertyInfo.Set Property

Definition

Gets or sets a setter delegate for the property.

public:
 property Action<System::Object ^, System::Object ^> ^ Set { Action<System::Object ^, System::Object ^> ^ get(); void set(Action<System::Object ^, System::Object ^> ^ value); };
public Action<object,object?>? Set { get; set; }
member this.Set : Action<obj, obj> with get, set
Public Property Set As Action(Of Object, Object)

Property Value

Exceptions

The JsonPropertyInfo instance has been locked for further modification.

Remarks

Setting to null will result in the property being skipped on deserialization.

Applies to