Glass.Mapper.Sc.DataMappers.SitecoreFieldStringMapper.SetFieldValue C# (CSharp) Method

SetFieldValue() public method

Sets the field value.
public SetFieldValue ( object value, SitecoreFieldConfiguration config, SitecoreDataMappingContext context ) : string
value object The value.
config Glass.Mapper.Sc.Configuration.SitecoreFieldConfiguration The config.
context SitecoreDataMappingContext The context.
return string
        public override string SetFieldValue(object value, SitecoreFieldConfiguration config, SitecoreDataMappingContext context)
        {
            //this will only be used by the SitecoreFieldIEnumerableMapper
            return value as string;
        }