public Task<Attribute> GetAttributeDefinitionAsync()
It is a best practice to check for null or empty string on .DefaultAttributeDef before calling this method.
In This Article