ApplyModelFromFile

void ISubController.ApplyModelFromFile(string filename)

Replaces this sub-controller with a new instance based on the model contained in the XML controller description file.

Parameters

filename – String containing the path to a file containing the XML controller description to apply on this sub-controller.

Throws
Remarks

Equivalent to: ((ITopController)(subController.Parent)).ApplyModelFromFile(filename,new[]{subController});