## View.Views

### Description

Returns a ViewCollection containing each View object defined for this view.
Tip: A View can have sub views if it was defined as a relational view.

### C# Syntax

    // get accessor
    ViewCollection rtn = View.Views;

### Examples

#### JScript Example

    /*
            This example creates a SDK Explorer and iterates over its sub views
    */
    var layout = Desktop.ActiveLayout;
    var viewer = layout.CreateView("SDK Explorer", "Demo Viewer");
    for( var i=0; i<viewer.Views.Count; i++ ) {
            var v = viewer.Views(i);
            Application.LogMessage( v.Name );
    }
    // Expected result:
    //INFO : application info
    //INFO : om selection
    //INFO : omviewexplorer