## Layout.Views

### Description

Returns a ViewCollection containing each View object attached to this layout. This property is only available on the active layout.

### C# Syntax

    // get accessor
    ViewCollection rtn = Layout.Views;

### Examples

#### JScript Example

    // Log all active views
    var desktop = Application.Desktop;
    var views = desktop.ActiveLayout.Views;
    for( i=0; i<views.Count; i++) {
            Application.LogMessage( views(i).FullName );
    }

### See Also

View