AttributeInheritance
Determines whether this attribute is inherited.
Declaration
[Obsolete("Inheritance is decided at the class level using the [Inheritable] attribute.", true)]
MulticastInheritance AttributeInheritance { get; set; }
Property Value
Type | Description |
---|---|
MulticastInheritance |
Remarks
If this property is not set to MulticastInheritance.None
,
a copy of this attribute will be propagated
along the lines of inheritance of the target element:
- On classes: all classed derived from that class.
- On interfaces: all classes implementing this interface.
- On virtual, abstract or interface methods: all methods overriding or implementing this method.
- On parameters or return value of virtual, abstract or interface methods: corresponding parameter or return value on all methods or overriding or implementing the parent method of the target parameter or return value.