|  | This document is archived and information here might be outdated. Recommended version. | 
Sets data field name in the series. Can be multiple and optional depending on series type.
[Visual Basic .NET]
Public Sub SetField ( _
    ByVal idx As Integer, _
    ByVal FieldName As String _
)
[C#]
public void SetField (
    int idx,
    string FieldName
);
[C++]
HRESULT SetField(
  long idx,
  BSTR FieldName
);
[C++] Parameters idx [in]
idx is a parameter of type long FieldName [in]
FieldName is a parameter of type BSTR