Errors throw an exception. The application program needs to catch and handle these exceptions.
Visual Basic (Declaration) | |
---|---|
Public Sub WriteFile( _ ByVal defs() As OPCItemDef, _ ByVal pathName As String _ ) |
C# | |
---|---|
public void WriteFile( OPCItemDef[] defs, string pathName ) |
Parameters
- defs
- OPCItemDef array to be serialized
- pathName
- Name of the XML file the serialized data is written to.