FileSetStream Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
FileSetStream(IEnumerable<String>) |
Create a new instance using a set of files. |
FileSetStream(IEnumerable<ValueTuple<String,Stream>>) |
Create a new instance using a set of files. |
Create a new instance using a set of files.
public FileSetStream (System.Collections.Generic.IEnumerable<string> fileNames);
new Iot.Device.Common.FileSetStream : seq<string> -> Iot.Device.Common.FileSetStream
Public Sub New (fileNames As IEnumerable(Of String))
Parameters
- fileNames
- IEnumerable<String>
A list of file names
Exceptions
One of the files doesn't exist
Applies to
.NET IoT Libraries 2.2.0
Product | Versions |
---|---|
.NET IoT Libraries | 2.2.0 |
Create a new instance using a set of files.
public FileSetStream (System.Collections.Generic.IEnumerable<(string FileName, System.IO.Stream? Alternate)> files);
new Iot.Device.Common.FileSetStream : seq<ValueTuple<string, System.IO.Stream>> -> Iot.Device.Common.FileSetStream
Public Sub New (files As IEnumerable(Of ValueTuple(Of String, Stream)))
Parameters
- files
- IEnumerable<ValueTuple<String,Stream>>
A list of file names or streams. If the stream of a pair is non-null, it is used instead of the name
Exceptions
One of the files doesn't exist
A stream was provided that is not readable
Applies to
.NET IoT Libraries 2.2.0
Product | Versions |
---|---|
.NET IoT Libraries | 2.2.0 |