MarkupAttribute.TryGetProperty(string,MarkupValue)

Method in MarkupAttribute

Summary

Gets a property named name from this attribute, if present.

public readonly bool TryGetProperty(string name, out MarkupValue result)

Parameters

NameDescription
string nameThe name of the property.
Yarn.Markup.MarkupValue resultOn return, the property’s value if found, or zero if not.

Returns

true if a property named name was found; false otherwise.