Reads data from file and sets the data and mime types. If an error occurs, it is reported in the .

Namespace: Unimaze.Composer.Ubl2.Interfaces
Assembly: Unimaze.Composer.Ubl2 (in Unimaze.Composer.Ubl2.dll) Version: 2.1.200.0 (2.1.0.22)

Syntax

C#
bool ReadFromFile(
	string path,
	out string errorMessage
)
Visual Basic
Function ReadFromFile ( 
	path As String,
	<OutAttribute> ByRef errorMessage As String
) As Boolean
Visual C++
bool ReadFromFile(
	String^ path, 
	[OutAttribute] String^% errorMessage
)
F#
abstract ReadFromFile : 
        path : string * 
        errorMessage : string byref -> bool 

Parameters

path
Type: System..::..String
The path where to find the file.
errorMessage
Type: System..::..String%

[Missing <param name="errorMessage"/> documentation for "M:Unimaze.Composer.Ubl2.Interfaces.IEmbeddedDocumentBinaryObject.ReadFromFile(System.String,System.String@)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Unimaze.Composer.Ubl2.Interfaces.IEmbeddedDocumentBinaryObject.ReadFromFile(System.String,System.String@)"]

See Also