语言

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)

属性值

例外

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

注解

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

适用于