Method TryGetExplicitlySetAttributeForRole
TryGetExplicitlySetAttributeForRole(VisualRole, out Attribute?)
Attempts to get the Attribute associated with a specified VisualRole. If the role is not explicitly set, it will return false and the out parameter will be null.
public bool TryGetExplicitlySetAttributeForRole(VisualRole role, out Attribute? attribute)
Parameters
roleVisualRoleattributeAttribute?