TransferCodingHeaderValue 类

定义

表示 Acept-Ecoding 标头值。Represents an accept-encoding header value.

public ref class TransferCodingHeaderValue : ICloneable
public class TransferCodingHeaderValue : ICloneable
type TransferCodingHeaderValue = class
    interface ICloneable
Public Class TransferCodingHeaderValue
Implements ICloneable
继承
TransferCodingHeaderValue
派生
实现

注解

TransferCodingHeaderValue 类支持由 IETF 在RFC 2616中定义的接受编码标头。The TransferCodingHeaderValue class provides support for the Accept-Encoding header as defined in RFC 2616 by the IETF.

构造函数

TransferCodingHeaderValue(String)

初始化 TransferCodingHeaderValue 类的新实例。Initializes a new instance of the TransferCodingHeaderValue class.

TransferCodingHeaderValue(TransferCodingHeaderValue)

初始化 TransferCodingHeaderValue 类的新实例。Initializes a new instance of the TransferCodingHeaderValue class.

属性

Parameters

获取传输编码参数。Gets the transfer-coding parameters.

Value

获取传输编码值。Gets the transfer-coding value.

方法

Equals(Object)

确定指定的对象是否等于当前 TransferCodingHeaderValue 对象。Determines whether the specified Object is equal to the current TransferCodingHeaderValue object.

GetHashCode()

充当 TransferCodingHeaderValue 对象的哈希函数。Serves as a hash function for an TransferCodingHeaderValue object.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
Parse(String)

将字符串转换为 TransferCodingHeaderValue 实例。Converts a string to an TransferCodingHeaderValue instance.

ToString()

返回表示当前 TransferCodingHeaderValue 对象的字符串。Returns a string that represents the current TransferCodingHeaderValue object.

TryParse(String, TransferCodingHeaderValue)

确定一个字符串是否为有效的 TransferCodingHeaderValue 信息。Determines whether a string is valid TransferCodingHeaderValue information.

显式接口实现

ICloneable.Clone()

创建作为当前 TransferCodingHeaderValue 实例副本的新对象。Creates a new object that is a copy of the current TransferCodingHeaderValue instance.

适用于