MD.CloudConnect.Data.TrackingData.GetFieldAsBool C# (CSharp) 메소드

GetFieldAsBool() 공개 메소드

public GetFieldAsBool ( string fieldName ) : bool
fieldName string
리턴 bool
        public bool GetFieldAsBool(string fieldName)
        {
            if (fields.ContainsKey(fieldName))
            {
                return fields[fieldName].GetValueAsBool();
            }
            else throw new KeyNotFoundException(String.Format("The key {0} is not present", fieldName));
        }