1. LocalUploadSource

Class LocalUploadSource

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Provides access to a file in the local file system that will be uploaded to Content Hub.

Inheritance
System.Object
LocalUploadSource
Implements
Namespace: Stylelabs.M.Sdk.WebClient.Models.Upload
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
public class LocalUploadSource : object, IUploadSource

Constructors

LocalUploadSource(String, String)

Initializes a new instance of the LocalUploadSource class.

Declaration
public LocalUploadSource(string path, string name = "")
Parameters
TypeNameDescription
System.Stringpath

The local file path pointing to the file.

System.Stringname

The file name.

Properties

Name

Gets the name of the file.

Declaration
public string Name { get; }
Property Value
TypeDescription
System.String

Methods

GetStreamAsync()

Gets a to access the underlying source.

Declaration
public Task<Stream> GetStreamAsync()
Returns
TypeDescription
Task<Stream>

Implements

この記事を改善するための提案がある場合は、 お知らせください!