## OutputPortCollection.GetAsText

### Introduced

v5.0

### Description

Returns the collection as a string formatted as a comma-separated list of item. GetAsText applies only to collections containing objects derived from SIObject.

### C# Syntax

    String OutputPortCollection.GetAsText();

### Scripting Syntax

    oString = OutputPortCollection.GetAsText();

### Return Value

String

### Examples

#### JScript Example

    // Log all children of the scene root.

    Application.LogMessage( ActiveSceneRoot.Children.GetAsText() );