添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge

Applies to: yes Visual Studio no Visual Studio for Mac no Visual Studio Code

The WriteLine activity designer is used to create and configure a WriteLine activity.

The WriteLine Activity

The WriteLine activity writes text to a specified TextWriter object. If no TextWriter is specified, WriteLine writes the text to the console.

Using the WriteLine Activity Designer

Access the WriteLine activity designer in the Primitives category of the Toolbox . The WriteLine activity designer can be dragged from the Toolbox and dropped on to the Workflow Designer surface wherever activities are usually placed, such as inside a Sequence . This creates a WriteLine activity with a default DisplayName of WriteLine. The DisplayName can be edited in the header of the WriteLine activity designer or in the DisplayName box of the property grid.

The WriteLine Properties

The following table shows the WriteLine properties and describes how they are used in the designer. These properties can be edited in property grid and some of them can be edited on Workflow Designer surface.

Property Name Required Usage DisplayName False The friendly name of the WriteLine activity. The default is WriteLine. Although the DisplayName is not strictly required, it is best practice to use a one. False The text to write. To set the property, type a Visual Basic expression in the Text box on the WriteLine activity designer or in the property grid. TextWriter False The TextWriter to which the WriteLine writes the Text . The default is the console.

See also

  • Primitives
  • Assign
  • Delay
  • InvokeMethod
  •