1. RenditionItemBase

Class RenditionItemBase

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

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

Base class for rendition items.

Inheritance
System.Object
RenditionItemBase
Implements
Namespace: Stylelabs.M.Sdk.Models.Base
Assembly: Stylelabs.M.Sdk.dll
Syntax
public abstract class RenditionItemBase : object, IRenditionItem

Properties

Href

Link to the rendition file.

Declaration
public Uri Href { get; protected set; }
Property Value
TypeDescription
Uri

Methods

DownloadAsync(String, Boolean)

Downloads the rendition item to a location on disk.

Declaration
public Task DownloadAsync(string filePath, bool overwrite = false)
Parameters
TypeNameDescription
System.StringfilePath

The location to download the file to.

System.Booleanoverwrite

If the file is allowed to be overwritten.

Returns
TypeDescription
Task

GetStreamAsync()

Gets a containing the contents of the rendition item.

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

A containing the contents of the rendition item.

Implements

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