語言

JsonPropertyInfo.Set 屬性

定義

為該物業安排或指定二傳代表。

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 ,該屬性會在反序列化時被跳過。

適用於