DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomAssociation Class / LastError Property






In This Topic
    LastError Property
    In This Topic

    Returns the last error status from LastCommand.

    Syntax
    'Declaration
     
    
    Public ReadOnly Property LastError As System.String
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim value As System.String
     
    value = instance.LastError
    public System.string LastError {get;}
    public read-only property LastError: System.String; 
    public function get LastError : System.String
    public: __property System.string* get_LastError();
    public:
    property System.String^ LastError {
       System.String^ get();
    }
    Remarks
    If the LastCommand property if not null then this property returns the error status which is contained in the (Keyword.ErrorComment) attribute of the last command, otherwise an empty string is returned.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also