Class List.ListItem
Represents an item in a list.
Inheritance
object
List.ListItem
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DataWeb.Data
Assembly: DataWeb.Core.dll
Syntax
public class List.ListItem
Constructors
ListItem()
Initializes a new instance of the List.ListItem class.
Declaration
public ListItem()
ListItem(string, string, List<AdditionalValue>)
Initializes a new instance of the List.ListItem class with the specified title, value and additional values.
Declaration
public ListItem(string title, string value, List<List.ListItem.AdditionalValue> additionalValues)
Parameters
Type | Name | Description |
---|---|---|
string | title | The title of the item. |
string | value | The value of the item. |
List<List.ListItem.AdditionalValue> | additionalValues | The additional values associated with the item. |
ListItem(string, string)
Initializes a new instance of the List.ListItem class with the specified title and value.
Declaration
public ListItem(string title, string value)
Parameters
Type | Name | Description |
---|---|---|
string | title | The title of the item. |
string | value | The value of the item. |
ListItem(string)
Initializes a new instance of the List.ListItem class with the specified value.
Declaration
public ListItem(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value | The value of the item. |
Properties
AdditionalValues
Gets or sets the additional values associated with the item.
Declaration
public List<List.ListItem.AdditionalValue> AdditionalValues { get; set; }
Property Value
Type |
---|
List<List.ListItem.AdditionalValue> |
Title
Gets or sets the title of the item.
Declaration
public string Title { get; set; }
Property Value
Type |
---|
string |
Value
Gets or sets the value of the item.
Declaration
public string Value { get; set; }
Property Value
Type |
---|
string |