Share via


ITypeLib.GetDocumentation(Int32, String, String, Int32, String) 方法

定义

检索库的文档字符串、完整的帮助文件名和路径以及帮助文件中的库帮助主题的上下文标识符。

public:
 void GetDocumentation(int index, [Runtime::InteropServices::Out] System::String ^ % strName, [Runtime::InteropServices::Out] System::String ^ % strDocString, [Runtime::InteropServices::Out] int % dwHelpContext, [Runtime::InteropServices::Out] System::String ^ % strHelpFile);
public void GetDocumentation (int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile);
abstract member GetDocumentation : int * string * string * int * string -> unit
Public Sub GetDocumentation (index As Integer, ByRef strName As String, ByRef strDocString As String, ByRef dwHelpContext As Integer, ByRef strHelpFile As String)

参数

index
Int32

要返回其文档的类型说明的索引。

strName
String

此方法返回时,包含一个表示指定项的名称的字符串。 此参数未经初始化即被传递。

strDocString
String

此方法返回时,包含一个表示指定项的文档字符串的字符串。 此参数未经初始化即被传递。

dwHelpContext
Int32

此方法返回时,包含与指定项关联的帮助上下文标识符。 此参数未经初始化即被传递。

strHelpFile
String

此方法返回时,包含一个表示帮助文件的完全限定名的字符串。 此参数未经初始化即被传递。

注解

有关详细信息,请参阅 ITypeLib::GetDocumentation 方法

适用于