MarkupAttribute.TryGetProperty(string,float)

Method in MarkupAttribute

Summary

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

public bool TryGetProperty(string name, out float result)

Parameters

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

Returns

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