Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 915 Bytes

yarn.markup.markupparseresult.trygetattributewithname.md

File metadata and controls

26 lines (15 loc) · 915 Bytes

MarkupParseResult.TryGetAttributeWithName(string,MarkupAttribute)

Method in MarkupParseResult

Summary

Gets the first attribute with the specified name, if present.

public bool TryGetAttributeWithName(string name, out MarkupAttribute attribute)

Parameters

Name Description
string name 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 .