Leadtools.MediaWriter Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.0.01.14
LastError Property
See Also 
Leadtools.MediaWriter Namespace > MediaWriter Class : LastError Property



The LastError Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets the error code for the last operation performed.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property LastError As Integer
Visual Basic (Usage)Copy Code
Dim instance As MediaWriter
Dim value As Integer
 
value = instance.LastError
C# 
public int LastError {get;}
C++/CLI 
public:
property int LastError {
   int get();
}

Return Value

A long value containing the error code for the last operation.

Remarks

Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation for a complete list of possible error codes.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.MediaWriter requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features