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
Constructors
LocalUploadSource(String, String)
Initializes a new instance of the LocalUploadSource class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | path |
The local file path pointing to the file. |
| System.String | name |
The file name. |
Properties
Name
Gets the name of the file.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
GetStreamAsync()
Gets a to access the underlying source.
Declaration
Returns
| Type | Description |
|---|---|
| Task<Stream> |