Open sandboxFocus

Property AttributeTargetMembers

AttributeTargetMembers

Gets or sets the expression specifying to which members this instance applies.

Declaration
public string? AttributeTargetMembers { get; set; }
Property Value
Type Description
string

A wildcard or regular expression specifying to which members this instance applies, or null this instance applies either to all members whose kind is given in AttributeTargetElements. Regular expressions should start with the regex: prefix.

Implements
Remarks

Ignored if the only AttributeTargetElements are only types.