GetCount Data Member Function

Returns an <int32> containing the count of <Str> objects stored by this <Node>. Typically used as a loop counter guard in code that uses GetFilePath() and SetFilePath() to get or set the paths to resources used to build applications.

Prototype

int32 GetCount()

Examples

Copy Text To Clipboard

import library "app_service_console_util.ssl";
import library "type_service_select_util.ssl";

AppScaffoldNode a_oNode = LibSelect.FirstAppScaffoldNode();

for( int i = 0; i < a_oNode.GetCount(); ++i )
{
   Console.Out( a_oNode.GetFilePath( i ) );
}

Results

.\Shader.scenomeapp
.\v0_shader.xml
.\shader_icon.ico
.\shader_splash_screen.bmp
.\shader_default.box
.\v0_scripts.xml