Open sandboxFocus

Property AttributeExclude

AttributeExclude

Gets or sets a value indicating whether this attribute removes all other instances of the same attribute type from the set of elements defined by the current instance.

Declaration
public bool AttributeExclude { get; set; }
Property Value
Type Description
bool
Remarks

Only the instances processed before the current one are removed: instances applied on a container, such as the assembly or the declaring type, and instances applied on the same element with a lower AttributePriority. A typical use is to exclude an element from the set matched by a wildcard expression.

See Also