Open sandboxFocus

Property AttributeTargetMembers

AttributeTargetMembers

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

Declaration
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.

Remarks

Ignored if the only AttributeTargetElements are only types.