TryGetAttributeWithName(string,MarkupAttribute)
Method in MarkupParseResult
Summary
Gets the first attribute with the specified name, if present.
Parameters
Name | Description |
---|---|
| The name of the attribute to get. |
Yarn.Markup.MarkupAttribute attribute | When this method returns, contains the attribute with the specified name, if the attribute is found; otherwise, the default MarkupAttribute . This parameter is passed uninitialized. |
Returns
true
if the MarkupParseResult contains an attribute with the specified name; otherwise, false
.