JavaScriptArray.cs
上传用户:szgaoree
上传日期:2009-01-05
资源大小:74k
文件大小:1k
- /*
- * MS 06-04-03 return the correct .Value
- *
- *
- */
- using System;
- using System.Collections;
- namespace AjaxPro
- {
- /// <summary>
- /// Represents a JavaScript ECMA array.
- /// </summary>
- public class JavaScriptArray : ArrayList, IJavaScriptObject
- {
- /// <summary>
- /// Initializes a new JavaScript array instance.
- /// </summary>
- public JavaScriptArray() : base()
- {
- }
- /// <summary>
- /// Returns the string representation of the object.
- /// </summary>
- public string Value
- {
- get
- {
- return JavaScriptSerializer.Serialize(this);
- }
- }
- }
- }