>From what I can quickly read about JScript .Net it seems a bit more JavaScript 2.0 like and so the following may be possible:
var featureService: MgFeatureService = MgFeatureService(siteConnection.CreateService(MgServiceType.FeatureService)); featureService..CreateFeatureSource(resourceIdentifier, sdfParams); JScript .Net from what I can see has the JavaScript 2.0 style typed variables i.e. var <variable name> : <variable type> And if I am reading the information on casting in JScript .Net correctly it looks like casting is a little wierd but of the form: <Variable or Specific type> = <Specific type class>( <variable of general type> ); and not what I would have been used to of <variable of specific type> = (<specific type class>) <variable of general type> which is the C# / Java style way of casting. -- View this message in context: http://www.nabble.com/Redlining-error-tp18524267p18529115.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
