Share via


ForEachItemEnumerator.ExportXML(String) Method

Definition

Exports data to an .xml file.

public:
 void ExportXML(System::String ^ bstrFileName);
public void ExportXML (string bstrFileName);
member this.ExportXML : string -> unit
Public Sub ExportXML (bstrFileName As String)

Parameters

bstrFileName
String

The name of the .xml file to which to export and save the data.

Remarks

Shown below is the format of the For Each Item Enumerator .xml file.

<FEIEItems>

<FEIEItem>

<FEIEItemValue Type="3" Value="11"/>

<FEIEItemValue Type="3" Value="12"/>

</FEIEItem>

<FEIEItem>

<FEIEItemValue Type="3" Value="21"/>

<FEIEItemValue Type="3" Value="22"/>

</FEIEItem>

</FEIEItems>

The Type attribute of the FEIEItemValue element specifies the type of the Value attribute for this element. The Value attribute specifies the actual value of the ItemValue.

The value used for the Type attribute is a value from the VarEnum enumeration. For more information, see "VarEnum Enumeration" in the Microsoft .NET Framework Class Library.

Applies to