[This is preliminary documentation and subject to change]

### CustomFields

This property allows you to retrieve any extra HTTP headers that were included in the HTTP operation referred to by the current log record. The extra headers returned are contained within a two-dimensional array, consisting of key-value pairs. CustomFields can be used to retrieve any custom or special fields that were logged by IIS.

###### Syntax

var = oIISLog.CustomFields

###### Parameters

var
  A two-dimensional array of variants. Each pair of variants forms a key-value pair that describes an HTTP header.

###### Example

Please see the example for BytesReceived. The example uses the following type of logic:

       For i = 1 To UBound(oIISLog.CustomFields)
            Response.Write oIISLog.CustomFields(i,1)
            Response.Write " = "
            Response.Write oIISLog.CustomFields(i,2)
            Response.Write "<BR>"
          Next

© 1997-2001 Microsoft Corporation. All rights reserved.