/// <summary> /// Constructor requires all File attributes /// </summary> public File(string url, string title, string description, DateTime datecrawl, long length , Location gpsLocation , string extension , string keywords) { _Title = title.UnicodeToCharacter(); _Description = description.UnicodeToCharacter(); _CrawledDate = datecrawl; _Url = url.UnicodeToCharacter(); _Size = length; _GpsLocation = gpsLocation; _Extension = extension; _KeywordString = keywords.UnicodeToCharacter(); _IndexId = -1; // [v7] }
/// <summary> /// Added in [v6] /// </summary> protected bool SetGpsCoordinates(string coordinates) { this._GpsLocation = Location.FromString(coordinates); return (_GpsLocation != null); }