Open sandboxFocus

Property InheritedByMembers

InheritedByMembers

Gets or sets a value indicating whether the options are inherited from the declaring type to its members. The default value is true.

Declaration
public bool InheritedByMembers { get; init; }
Property Value
Type Description
bool

true if options set on a type apply to its members (methods, properties, fields, etc.) unless overridden; otherwise, false.