| Visual Basic | |
|---|---|
Function GetErrorMessage( _ ByVal lHRESULT As System.Integer _ ) As System.String | |
| C# | |
|---|---|
System.string GetErrorMessage( System.int lHRESULT ) | |
| C++/CLI | |
|---|---|
System.String^ GetErrorMessage( & System.int lHRESULT ) | |
Parameters
- lHRESULT
- Error code for which to get a description
Return Value
Description of the error codeThis method returns a readable error message for HRESULT error codes. For example, if lHRESULT is 0x80040204, then this method returns "You have not logged in to the file vault."
- S_OK: The method successfully executed.
SOLIDWORKS PDM Professional 2010