This sets the attributed string to display on the layer. The attributed string should contain CoreText attributes.
c# Example
void DrawHelloWorld (CATextLayer myTextLayer)
{
    var hello = new NSAttributedString ("Hello, world",
           new CTStringAttributes () {
                  ForegroundColorFromContext =  true,
                  Font = new CTFont ("Arial", 24)
           });
    myTextLayer.AttributedString = hello;
}