AxImporter.GetFileOfTypeLib(TYPELIBATTR) 方法

定义

获取所指定类型库的路径和文件名称。Gets the path and file name to the specified type library.

public:
 static System::String ^ GetFileOfTypeLib(System::Runtime::InteropServices::TYPELIBATTR % tlibattr);
public static string GetFileOfTypeLib (ref System.Runtime.InteropServices.TYPELIBATTR tlibattr);
static member GetFileOfTypeLib : TYPELIBATTR -> string
Public Shared Function GetFileOfTypeLib (ByRef tlibattr As TYPELIBATTR) As String

参数

tlibattr
TYPELIBATTR

TYPELIBATTR,指示要检索其文件名的类型库。A TYPELIBATTR that indicates the type library to retrieve the file name of.

返回

String

所指定类型库的路径和文件名,或者,如果未能找到库,则为 nullThe path and file name to the specified type library, or null if the library could not be located.

适用于