Errors throw an exception. The application program needs to catch and handle these exceptions.
| Visual Basic (Declaration) | |
|---|---|
Public Function ReadFile( _ ByVal pathName As String _ ) As OPCItemDef() | |
| C# | |
|---|---|
public OPCItemDef[] ReadFile( string pathName ) | |
Parameters
- pathName
- Name of the XML file