| FieldDefinitionPicklistItems Property |
Gets the picklist items representing the possible values for the field, in case this field is of type SinglePicklist
or MultiplePicklist.
Namespace: Sdl.LanguagePlatform.TranslationMemoryApiAssembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntaxpublic PicklistItemDefinitionCollection PicklistItems { get; }Public ReadOnly Property PicklistItems As PicklistItemDefinitionCollection
Get
public:
property PicklistItemDefinitionCollection^ PicklistItems {
PicklistItemDefinitionCollection^ get ();
}member PicklistItems : PicklistItemDefinitionCollection with get
Property Value
Type:
PicklistItemDefinitionCollection
Exceptions| Exception | Condition |
|---|
| InvalidOperationException | Thrown when trying to access this property for a field that is not of type SinglePicklist
or MultiplePicklist. |
RemarksNote that you have to save the translation memory of the fields template to persist the change after adding or removing picklist items,
depending on whether the field belongs to a translation memory or a fields template.
See Also
Comments