| Visual Basic | |
|---|---|
Function GetErrorName( _ ByVal lHRESULT As System.Integer _ ) As System.String | |
| C# | |
|---|---|
System.string GetErrorName( System.int lHRESULT ) | |
| C++/CLI | |
|---|---|
System.String^ GetErrorName( & System.int lHRESULT ) | |
Parameters
- lHRESULT
- Error code for which to get the internal name
Return Value
Internal error code nameThis method returns the internal error code name for an HRESULT error code. For example, if lHRESULT is 0x80040204, this method returns "E_EDM_NOT_LOGGED_IN".
- S_OK: The method successfully executed.
SOLIDWORKS PDM Professional 2010