Open sandboxFocus

Property Inheritance

Inheritance

Gets or sets how the custom attribute is inherited along the lines of inheritance of the target element.

Declaration
public MulticastInheritance Inheritance { get; set; }
Property Value
Type Description
MulticastInheritance
Remarks

Only one class of the inheritance hierarchy of the attribute can set this property; setting it again in a derived class is a build error. Aspect users can also set the inheritance mode of each usage with AttributeInheritance.

See Also