Constructor MetadataFilterValue
MetadataFilterValue(string)
Creates a text value. Range operators compare text ordinally (byte order), so text ranges are only meaningful for values with a stable lexical ordering.
public MetadataFilterValue(string value)
Parameters
valuestringThe text to compare against. Must not be
null.
MetadataFilterValue(double)
Creates a numeric value. Stored metadata strings are parsed with the invariant culture before the comparison; values that do not parse never match.
public MetadataFilterValue(double value)
Parameters
valuedoubleThe number to compare against. Must be finite.
MetadataFilterValue(bool)
Creates a boolean value. Stored metadata strings match when they equal "true" or "false" (case-insensitive); other values never match.
public MetadataFilterValue(bool value)
Parameters
valueboolThe boolean to compare against.
MetadataFilterValue(DateTimeOffset)
Creates a date value. Stored metadata strings are parsed as ISO 8601 dates or timestamps and the instants are compared; values that do not parse never match.
public MetadataFilterValue(DateTimeOffset value)
Parameters
valueDateTimeOffsetThe instant to compare against.