MarkupAttribute.TryGetProperty(string,bool)

Method in MarkupAttribute

Summary

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

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

Parameters

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

Returns

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