Class BinaryContent
Inheritance
System.Object
BinaryContent
Namespace: XRoad
Assembly: XRoadProvider.dll
Syntax
[<AllowNullLiteral>]
type BinaryContent
Properties
property ContentEncoding: ContentEncoding
Declaration
property ContentEncoding: ContentEncoding with get, set
Property Value
property ContentID: string
Declaration
property ContentID: string with get
Property Value
Methods
static member Create: byte [] -> BinaryContent
Declaration
static member Create: data:byte [] -> BinaryContent
Parameters
Type |
Name |
Description |
byte [] |
data |
|
Returns
static member Create: string * byte [] -> BinaryContent
Declaration
static member Create: contentID:string * data:byte [] -> BinaryContent
Parameters
Type |
Name |
Description |
string |
contentID |
|
byte [] |
data |
|
Returns
static member Create: string * FileInfo -> BinaryContent
Declaration
static member Create: contentID:string * file:FileInfo -> BinaryContent
Parameters
Type |
Name |
Description |
string |
contentID |
|
System.IO.FileInfo |
file |
|
Returns
static member Create: FileInfo -> BinaryContent
Declaration
static member Create: file:FileInfo -> BinaryContent
Parameters
Type |
Name |
Description |
System.IO.FileInfo |
file |
|
Returns
member GetBytes: unit -> byte []
Declaration
member GetBytes: unit -> byte []
Returns
member OpenStream: unit -> Stream
Declaration
member OpenStream: unit -> Stream
Returns
Type |
Description |
System.IO.Stream |
|