LocalFilesStorageResourceProvider.FromFile(String) 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.
Creates a storage resource to the file at the given path.
public static Azure.Storage.DataMovement.StorageResourceItem FromFile (string filePath);
public Azure.Storage.DataMovement.StorageResourceItem FromFile (string filePath);
static member FromFile : string -> Azure.Storage.DataMovement.StorageResourceItem
member this.FromFile : string -> Azure.Storage.DataMovement.StorageResourceItem
Public Shared Function FromFile (filePath As String) As StorageResourceItem
Public Function FromFile (filePath As String) As StorageResourceItem
Parameters
- filePath
- String
Path to the file.
Returns
Storage resource to this file.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET