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

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

public GetValues ( int index ) : string[]
index int
Результат string[]
        public override string[] GetValues(int index) { throw null; }
        public override string[] GetValues(string header) { throw null; }

Same methods

WebHeaderCollection::GetValues ( string header ) : string[]

Usage Example

        public TableStorageResponse(HttpStatusCode statusCode, string response, WebHeaderCollection headers)
        {
            StatusCode = statusCode;

            Body = String.IsNullOrEmpty(response) ? null : new TableStorageResponseBody(response);

            var values = headers.GetValues(StorageHttpConstants.HeaderNames.PrefixForTableContinuation + StorageHttpConstants.HeaderNames.NextRowKey);
            NextRowKey = values != null ? values.FirstOrDefault() : null;

            values = headers.GetValues(StorageHttpConstants.HeaderNames.PrefixForTableContinuation + StorageHttpConstants.HeaderNames.NextPartitionKey);
            NextPartitionKey = values != null ? values.FirstOrDefault() : null;

        }
All Usage Examples Of System.Net.WebHeaderCollection::GetValues