JsonParameterInfo.IsMemberInitializer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.