Class PicklistItem
Represents a picklist item in a picklist field declaration.
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
[DataContract]
public class PicklistItem
Constructors
PicklistItem()
Initializes a new instance with default values.
Declaration
public PicklistItem()
PicklistItem(PicklistItem)
Initializes a new instance with the values of another instance, creating a deep copy.
Declaration
public PicklistItem(PicklistItem other)
Parameters
Type | Name | Description |
---|---|---|
PicklistItem | other | The other instance |
PicklistItem(string)
Initializes a new instance of the PicklistItem class with the specified value.
Declaration
public PicklistItem(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The picklist item value. |
Properties
ID
Gets or sets the unique ID for this item.
This value should only set by the storage implementation.
Declaration
[DataMember]
public int? ID { get; set; }
Property Value
Type | Description |
---|---|
int |
Name
Gets or sets the picklist item value.
Declaration
[DataMember]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |