Method File
| Improve this Doc View SourceFile(ByteArrayFileContent)
Represents a situation in which the service returns the contents of a file as an array of bytes.
Declaration
public static Result<ByteArrayFileContent> File(ByteArrayFileContent fileContent)
Parameters
Type | Name | Description |
---|---|---|
Byte |
fileContent | The contents of a file. |
Returns
Type | Description |
---|---|
Result<Byte |
File(StreamFileContent)
Represents a situation in which the service returns the contents of a file as a stream.
Declaration
public static Result<StreamFileContent> File(StreamFileContent fileContent)
Parameters
Type | Name | Description |
---|---|---|
Stream |
fileContent | The contents of a file. |
Returns
Type | Description |
---|---|
Result<Stream |