IModel.GetFieldValuesByFieldTag Method
Namespace: NextDesign.Core
Description
Gets an enumeration of the values of the field with the specified tag.
If there are multiple fields with the specified tag, it returns an enumeration of the values of all the fields combined.
This method does not evaluate IContextOption.PlModelAccessMode. Please note that elements that are invalid in the product are also returned.
If there are no corresponding field values, it returns an empty collection.
Note that the data type of the tagged field that this method targets is arbitrary. Therefore, the enumeration returned by this method is of type object.
When using, it is necessary to convert it to the optimal data type.
Arguments
Name | Type | Description |
---|---|---|
fieldTag | string | Tag name of the field If null or an empty string is specified, the return value of this method will be an empty collection. |
value | string | String representation of the tag value The default value is null. If null or an empty string is specified, the method will only evaluate whether the field has a tag. |
Return value
- IEnumerable<object>