| PicklistField Class |
Namespace: Sdl.LanguagePlatform.TranslationMemory
The PicklistField type exposes the following members.
| Name | Description | |
|---|---|---|
| PicklistField |
Initializes a new instance with default values.
| |
| PicklistField(PicklistField) |
Initializes a new instance with the values of another instance, creating a deep copy.
| |
| PicklistField(String, FieldValueType) |
Initializes a new instance of the PicklistField class with a specified name and type.
The only valid values for the type are SinglePicklist and MultiplePicklist. | |
| PicklistField(String, FieldValueType, ICollectionPicklistItem) |
Initializes a new instance of the PicklistField class with a specified name and type.
The only valid values for the type are SinglePicklist and MultiplePicklist. | |
| PicklistField(String, FieldValueType, ICollectionString) |
Initializes a new instance of the PicklistField class with a specified name and type.
The only valid values for the type are SinglePicklist and MultiplePicklist. |
| Name | Description | |
|---|---|---|
| FieldType |
Gets the type of the field, i.e. whether it is a system or user-defined field.
(Inherited from Field.) | |
| IsSystemField |
Gets a flag which indicates that this field is a system field. System fields cannot
be changed or deleted by the user. Setting this flag from user-code has no effect.
(Inherited from Field.) | |
| Name |
Gets or sets the field name.
(Inherited from Field.)See IsValidName(String) for a detailed description of accepted identifiers. | |
| Picklist |
Gets the picklist items collection.
| |
| PicklistItemNames |
The names of all picklist items for this Field. This collection will be empty if this field is not a
SinglePicklist or MultiplePicklist.
(Overrides FieldPicklistItemNames.) | |
| ResourceId |
Gets or sets the resource ID for this object.
(Inherited from PersistentObject.) | |
| ValueType |
Gets or sets the field value type
(Inherited from Field.) |
| Name | Description | |
|---|---|---|
| CheckName |
Checks the given name and throws an exception if the name is not valid.
(Inherited from Field.) | |
| Clone | (Overrides FieldClone.) | |
| CreateValue |
Creates a FieldValue instance, with the same name and type as this field declaration.
(Inherited from Field.) | |
| Duplicate |
Creates a new instance that is a deep copy of this instance.
(Overrides FieldDuplicate.) | |
| Equals | Equals(object) (Overrides FieldEquals(Object).) | |
| EqualsDeclaration |
Determines whether this instance of Field and a specified object, which must also be a Field object,
represent the same field declaration, not considering the picklist.
(Inherited from Field.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | GetHashCode(object) (Overrides FieldGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| PicklistFromString |
Deserializes the picklist values from the provided string and sets the picklist values accordingly. Existing
values will be overwritten.
| |
| PicklistToString |
Serializes the picklist values into a comma separated string.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |