Delen via


StringWithQualityHeaderValue Class

Definition

A string header value with an optional quality.

public ref class StringWithQualityHeaderValue
public class StringWithQualityHeaderValue
type StringWithQualityHeaderValue = class
Public Class StringWithQualityHeaderValue
Inheritance
StringWithQualityHeaderValue

Constructors

StringWithQualityHeaderValue(String, Double)
StringWithQualityHeaderValue(String)
StringWithQualityHeaderValue(StringSegment, Double)

Initializes a new instance of StringWithQualityHeaderValue.

StringWithQualityHeaderValue(StringSegment)

Initializes a new instance of StringWithQualityHeaderValue.

Properties

Quality

Gets the quality factor.

Value

Gets the string header value.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

Parse(String)
Parse(StringSegment)

Parses the specified input as a StringWithQualityHeaderValue.

ParseList(IList<String>)

Parses a sequence of inputs as a sequence of StringWithQualityHeaderValue values.

ParseStrictList(IList<String>)

Parses a sequence of inputs as a sequence of StringWithQualityHeaderValue values using string parsing rules.

ToString()

Returns a string that represents the current object.

TryParse(String, StringWithQualityHeaderValue)
TryParse(StringSegment, StringWithQualityHeaderValue)

Attempts to parse the specified input as a StringWithQualityHeaderValue.

TryParseList(IList<String>, IList<StringWithQualityHeaderValue>)

Attempts to parse the sequence of values as a sequence of StringWithQualityHeaderValue.

TryParseStrictList(IList<String>, IList<StringWithQualityHeaderValue>)

Attempts to parse the sequence of values as a sequence of StringWithQualityHeaderValue using string parsing rules.

Applies to