VisionSource.FromFiles Method
Definition
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.
Overloads
FromFiles(Func<String>) |
Builds a VisionSource from a callback that returns file names |
FromFiles(String[]) |
Builds a VisionSource from an array of local input image or video files |
FromFiles(IEnumerable<String>) |
Builds a VisionSource from a collection of local input image or video files |
FromFiles(Func<String>)
Builds a VisionSource from a callback that returns file names
public static Azure.AI.Vision.Core.Input.VisionSource FromFiles (Func<string> getNextFilePath);
static member FromFiles : Func<string> -> Azure.AI.Vision.Core.Input.VisionSource
Public Shared Function FromFiles (getNextFilePath As Func(Of String)) As VisionSource
Parameters
Returns
A VisionSource that uses the callback-specified input files
Remarks
getNextFilePath will be called as each file input is completed and a new one is needed. Return a null or string.empty to indicate there are no more files.
Applies to
FromFiles(String[])
Builds a VisionSource from an array of local input image or video files
public static Azure.AI.Vision.Core.Input.VisionSource FromFiles (params string[] filePaths);
static member FromFiles : string[] -> Azure.AI.Vision.Core.Input.VisionSource
Public Shared Function FromFiles (ParamArray filePaths As String()) As VisionSource
Parameters
- filePaths
- String[]
The array of full path names of the local files
Returns
A VisionSource that uses the specified array of files
Remarks
Not yet supported for use with ImageAnalyzer
Applies to
FromFiles(IEnumerable<String>)
Builds a VisionSource from a collection of local input image or video files
public static Azure.AI.Vision.Core.Input.VisionSource FromFiles (System.Collections.Generic.IEnumerable<string> filePaths);
static member FromFiles : seq<string> -> Azure.AI.Vision.Core.Input.VisionSource
Public Shared Function FromFiles (filePaths As IEnumerable(Of String)) As VisionSource
Parameters
- filePaths
- IEnumerable<String>
The collection of full path names of the local files
Returns
A VisionSource that uses the specified file collection
Remarks
Not yet supported for use with ImageAnalyzer
Applies to
Azure SDK for .NET