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.
// get accessor ViewCollection rtn = View.Views; |
/* 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 |