1 //------------------------------------------------------------------------------
2 // <copyright file="IndexedString.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 //------------------------------------------------------------------------------
6 
7 namespace System.Web.UI {
8 
9     using System;
10 
11     [Serializable]
12     public sealed class IndexedString {
13 
14         private string _value;
15 
16 
IndexedString(string s)17         public IndexedString (string s) {
18             if (String.IsNullOrEmpty(s)) {
19                 throw new ArgumentNullException("s");
20             }
21             _value = s;
22         }
23 
24 
25         public string Value {
26             get {
27                 return _value;
28             }
29         }
30     }
31 }
32