AjaxControlToolkit.AutoCompleteExtender.CreateAutoCompleteItem C# (CSharp) 메소드

CreateAutoCompleteItem() 공개 정적인 메소드

Creates a serialized JSON object representing a text/value pair that can be returned by the webservice
public static CreateAutoCompleteItem ( string text, string value ) : string
text string Text part
value string Value part
리턴 string
        public static string CreateAutoCompleteItem(string text, string value)
        {
            return new JavaScriptSerializer().Serialize(new Pair(text, value));
        }