JsonPropertyInfo.Set 属性

定义

获取或设置属性的 setter 委托。

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)

属性值

Action<Object,Object>

例外

实例 JsonPropertyInfo 已被锁定以进一步修改。

注解

设置为 null 将导致反序列化时跳过属性。

适用于