Method WithAttribute
WithAttribute<T>(T, XName, string)
Declaration
public static T WithAttribute<T>(this T element, XName name, string value) where T : XElement
Parameters
| Type | Name | Description |
|---|---|---|
| T | element | |
| XName | name | |
| string | value |
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T |