System.Net.WebHeaderCollection.this C# (CSharp) Метод

this() публичный Метод

public this ( HttpRequestHeader header ) : string
header HttpRequestHeader
Результат string
        public string this[HttpRequestHeader header]
        {
            get
            {
                if (!AllowHttpRequestHeader)
                {
                    throw new InvalidOperationException(SR.net_headers_req);
                }
                return this[header.GetName()];
            }
            set
            {
                if (!AllowHttpRequestHeader)
                {
                    throw new InvalidOperationException(SR.net_headers_req);
                }
                this[header.GetName()] = value;
            }
        }

Same methods

WebHeaderCollection::this ( HttpResponseHeader header ) : string
WebHeaderCollection::this ( System header ) : string
WebHeaderCollection::this ( string name ) : string