语言

JsonPropertyInfo.Get 属性

定义

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

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

属性值

例外

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

注解

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

适用于