Type | Description | |||
Index as Variant | A long expression that indicates the index of the requested field, or a string expression that indicates the name of the field requested. | |||
String | A string expression that indicates the value of the field. |
The following sample displays the all overview fields available for the first article in the "vb.general" news group:
Dim n As New EXNNTPLibCtl.NNTP Private Sub Form_Load() Dim g As EXNNTPLibCtl.Group, x As EXNNTPLibCtl.XOver n.Connect "news.devx.com" Set g = n.Group("vb.general") Dim s() As String s = Split(n.XOverFields, vbCrLf) Set x = g.Articles.Item(g.Articles.First).XOver For i = LBound(s) To UBound(s) Debug.Print "'" & s(i) & "' = " & x.Field(s(i)) Next n.Disconnect End Sub