Rediger

Del via


JsonParameterInfo.IsMemberInitializer Property

Definition

Gets a value indicating whether the parameter represents a required or init-only member initializer.

public:
 property bool IsMemberInitializer { bool get(); };
public bool IsMemberInitializer { get; }
member this.IsMemberInitializer : bool
Public ReadOnly Property IsMemberInitializer As Boolean

Property Value

Remarks

Only returns true for source generated metadata which can only access

required or init-only member initializers using object initialize expressions.

Applies to