hit counter script

Readfromstream Method - Siemens SIMATIC S7 User Manual

Simatic automation tool v2.1
Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

6.6.4.3

ReadFromStream method

This method is used to re-create the collection from a previously-created serialization file.
The following example shows the usage of this method:
Return type
Method name
Result
ReadFromStream
Name
Data type
stream
Stream
This method is used to re-create the collection from a previously-created serialization file.
The following example shows the usage of this method:
IProfinetDeviceCollection devices = new IProfinetDeviceCollection();
FileStream f = File.OpenRead("myDataFile.SAT");
retVal = devices.ReadFromStream(f);
f.Close();
SIMATIC Automation Tool V2.1 user guide
Manual, V2.1.1 07/2016, A5E33042676-AC
SIMATIC Automation Tool API for .NET framework
Parameters
Parameter type
In
6.6 The IProfinetDeviceCollection class
Description
The source for de-serializing the collec-
tion
83

Advertisement

Table of Contents
loading

Table of Contents