EntityTagHeaderValue Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an entity-tag (etag
) header value.
public ref class EntityTagHeaderValue
public class EntityTagHeaderValue
type EntityTagHeaderValue = class
Public Class EntityTagHeaderValue
- Inheritance
-
EntityTagHeaderValue
Constructors
EntityTagHeaderValue(String) | |
EntityTagHeaderValue(String, Boolean) | |
EntityTagHeaderValue(StringSegment) |
Initializes a new instance of the EntityTagHeaderValue. |
EntityTagHeaderValue(StringSegment, Boolean) |
Initializes a new instance of the EntityTagHeaderValue. |
Properties
Any |
Gets the "any" etag. |
IsWeak |
Gets a value that determines if the entity-tag header is a weak validator. |
Tag |
Gets the quoted tag. |
Methods
Compare(EntityTagHeaderValue, Boolean) |
Compares against another EntityTagHeaderValue to see if they match under the RFC specifications (https://tools.ietf.org/html/rfc7232#section-2.3.2). |
Equals(Object) |
Check against another EntityTagHeaderValue for equality. This equality check should not be used to determine if two values match under the RFC specifications (https://tools.ietf.org/html/rfc7232#section-2.3.2). |
GetHashCode() | Serves as the default hash function. |
Parse(String) | |
Parse(StringSegment) |
Parses |
ParseList(IList<String>) |
Parses a sequence of inputs as a sequence of EntityTagHeaderValue values. |
ParseStrictList(IList<String>) |
Parses a sequence of inputs as a sequence of EntityTagHeaderValue values using string parsing rules. |
ToString() | Returns a string that represents the current object. |
TryParse(String, EntityTagHeaderValue) | |
TryParse(StringSegment, EntityTagHeaderValue) |
Attempts to parse the specified |
TryParseList(IList<String>, IList<EntityTagHeaderValue>) |
Attempts to parse the sequence of values as a sequence of EntityTagHeaderValue. |
TryParseStrictList(IList<String>, IList<EntityTagHeaderValue>) |
Attempts to parse the sequence of values as a sequence of EntityTagHeaderValue using string parsing rules. |
Applies to
Feedback
Submit and view feedback for