TryGetNamedArgument(IAttribute, string, out TypedConstant)
Tries to get a named argument (i.e. the value assigned to a field or property).
Declaration
public static bool TryGetNamedArgument(this IAttribute attribute, string name, out TypedConstant value)Parameters
| Type | Name | Description |
|---|---|---|
| IAttribute | attribute | |
| string | name | |
| TypedConstant | value |
Returns
| Type | Description |
|---|---|
| bool |
|