Errors throw an exception. The application program needs to catch and handle these exceptions.
Visual Basic (Declaration) | |
---|---|
Public Sub WriteBuffer( _ ByVal defs() As OPCItemDef, _ ByRef buffer As String _ ) |
C# | |
---|---|
public void WriteBuffer( OPCItemDef[] defs, out string buffer ) |
Parameters
- defs
- OPCItemDef array to be serialized
- buffer
- The serialized XML text is written into this string.