Documentation > CMS Template API Library > Out > WriteLine(String,Object[])

WriteLine

Writes a new line to the output with the given format string.

public System.Void WriteLine(String,Object[])

Parameters

NameDescriptionType
formattedString The format string. System.String
args The list of arguments for the format string. System.Object[]

Code Example

C#

Sample:

            
            Out.Write("<a href=\"{0}\">some link</a>", tmpAsset.GetLink());
            
            

Connect with Crownpeak