This document is archived and information here might be outdated. Recommended version. |
Convenience method. Creates and returns error object as byte SAFEARRAY.
[Visual Basic .NET] Public Function GetErrorObject ( _ ByVal propname As String, _ ByVal Code As Integer, _ ByVal Message As String, _ ByVal details As IStringArray _ ) As Byte[]
[C#] public Byte[] GetErrorObject ( string propname, int Code, string Message, IStringArray details );
[C++]
HRESULT GetErrorObject(
BSTR propname,
long Code,
BSTR Message,
IStringArray* details
);
[C++]
Parameters propname [in]
propname is a parameter of type BSTR Code [in]
Code is a parameter of type long Message [in]
Message is a parameter of type BSTR details [in]
details is a parameter of type IStringArray*