To demonstrate this feature I created a simple but interesting sample:
That is all I have to do!
Where “silverlightControl” is the id applied to my Silverlight application object tag.
Once I have a reference to the Silverlight control I am able to invoke the method which I marked as a ScriptableMember using the object name I registered:
The code for this sample can be found at here at MSDN Code Gallery.