Telerik.Web.Mvc.UI.Fluent.EditorDropDownItemBuilder.Add C# (CSharp) Méthode

Add() public méthode

public Add ( string text, string value ) : EditorDropDownItemBuilder
text string
value string
Résultat EditorDropDownItemBuilder
        public EditorDropDownItemBuilder Add(string text, string value)
        {
            items.Add(new DropDownItem() { Text = text, Value = value });

            return this;
        }
EditorDropDownItemBuilder