Use StorageFileQueryResult.GetMatchingPropertiesWithRanges() to select matching properties in a file query result.