IErrorInfo.GetHelpFile(String) 方法

定义

返回有关错误的信息的帮助文件的路径。

public:
 int GetHelpFile([Runtime::InteropServices::Out] System::String ^ % pBstrHelpFile);
int GetHelpFile([Runtime::InteropServices::Out] std::wstring const & & pBstrHelpFile);
public int GetHelpFile (out string pBstrHelpFile);
abstract member GetHelpFile : string -> int
Public Function GetHelpFile (ByRef pBstrHelpFile As String) As Integer

参数

pBstrHelpFile
String

弄指向字符串的指针,该字符串包含帮助文件的路径。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

适用于