Reads data from file and sets the data and mime types. If an error occurs, it is reported in the .
Namespace: Unimaze.Composer.Ubl2.ComponentsAssembly: Unimaze.Composer.Ubl2 (in Unimaze.Composer.Ubl2.dll) Version: 2.1.200.0 (2.1.0.22)
Syntax
| C# |
|---|
public bool ReadFromFile( string filePath, out string errorMessage ) |
| Visual Basic |
|---|
Public Function ReadFromFile ( filePath As String, <OutAttribute> ByRef errorMessage As String ) As Boolean |
| Visual C++ |
|---|
public: virtual bool ReadFromFile( String^ filePath, [OutAttribute] String^% errorMessage ) sealed |
| F# |
|---|
abstract ReadFromFile : filePath : string * errorMessage : string byref -> bool override ReadFromFile : filePath : string * errorMessage : string byref -> bool |
Parameters
- filePath
- Type: System..::..String
The path where to find the file.
- errorMessage
- Type: System..::..String%
[Missing <param name="errorMessage"/> documentation for "M:Unimaze.Composer.Ubl2.Components.EmbeddedDocumentBinaryObject.ReadFromFile(System.String,System.String@)"]
Return Value
Type: Boolean[Missing <returns> documentation for "M:Unimaze.Composer.Ubl2.Components.EmbeddedDocumentBinaryObject.ReadFromFile(System.String,System.String@)"]