MarkupAttribute.TryGetProperty(string,int)

Method in MarkupAttribute

Summary

Gets an integer property named name from this attribute, if present.

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

Parameters

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

Returns

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