LEADTOOLS Multimedia (Leadtools.MediaWriter assembly) Send comments on this topic. | Main Raster Introduction | Multimedia Introduction | Help Version 17.0.3.30
LastError Property
See Also 
Leadtools.MediaWriter Namespace > MediaWriter Class : LastError Property



The LastError Property is available in LEADTOOLS LEADTOOLS Document and Medical Imaging and in LEADTOOLS DVD Module 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();
}

Property 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 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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