System::Net::Http::Headers::EntityTagHeaderValue class

EntityTagHeaderValue class

Represents a value of the ‘Entity-Tag’ header. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class EntityTagHeaderValue : public System::ICloneable

Methods

MethodDescription
EntityTagHeaderValue(String)Constructs a new instance.
EntityTagHeaderValue(String, bool)Constructs a new instance.
Equals(System::SharedPtr<Object>) overrideCompares objects using C# Object.Equals semantics.
static get_Any()Gets a value of the ‘ETag’ header.
get_IsWeak()Gets a value that indicates if the current instance is a weak validator.
get_Tag()RTTI information.
static GetEntityTagLength(String, int32_t, System::SharedPtr<EntityTagHeaderValue>&)Converts a passed string from the specified index to an instance of the EntityTagHeaderValue class.
GetHashCode() const overrideAnalog of C# Object.GetHashCode() method. Enables hashing of custom objects.
static Parse(String)Converts a passed string to an instance of the EntityTagHeaderValue class.
ToString() const overrideAnalog of C# Object.ToString() method. Enables converting custom objects to string.
static TryParse(String, System::SharedPtr<EntityTagHeaderValue>&)Tries to convert a passed string to an instance of the EntityTagHeaderValue class.

See Also