Table of contents
TOC
Collapse the table of content
Expand the table of content

Viewer.LastErrorCode Property (Visio Viewer)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets the last error code returned by Microsoft Visio Viewer. Read-only.

Syntax

expression. LastErrorCode

_expression_An expression that returns a Viewer object.

Return Value

Long

Remarks

The default value of the LastErrorCode property is 0.

To determine what the error code returned by the LastErrorCode property means, you can pass the code to the GetErrorMessage method.

Example

The following code gets the last error code returned by Visio Viewer.

Debug.Print vsoViewer.LastErrorCode
© 2018 Microsoft