このビュー用に定義されている各 View オブジェクトを含む ViewCollection を戻します。
ヒント:リレーショナルビューとして定義されているビューは、サブビューを持ちます。
// 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 |