<Code Lib>
M

Entity.Get``1(Field, ForgeTypeId)

Description:
Retrieves the value of the field in the entity.
Remarks:

The template parameter must match the type of the field (specified when creating the Schema) exactly; this method does not perform data type conversions. The types for containers are IList for arrays and IDictionary for maps.

Overloads (4):
Get``1(Field,ForgeTypeId)

public FieldType Get<FieldType>(
	Field field,
	ForgeTypeId unitTypeId
)

  • field
    The field to retrieve.
  • unitTypeId
    Identifier of the unit to which the value will be converted before returning. Must be compatible with the spec specified when creating the Schema.
Return Value FieldType FieldType

Loading…