UCOMITypeLib.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 ,請參閱 MSDN 程式庫。

適用於