Marshal.GetTypeLibName 메서드

정의

형식 라이브러리의 이름을 검색합니다.

오버로드

Name Description
GetTypeLibName(ITypeLib)

형식 라이브러리의 이름을 검색합니다.

GetTypeLibName(UCOMITypeLib)
사용되지 않음.

형식 라이브러리의 이름을 검색합니다.

GetTypeLibName(ITypeLib)

형식 라이브러리의 이름을 검색합니다.

public:
 static System::String ^ GetTypeLibName(System::Runtime::InteropServices::ComTypes::ITypeLib ^ typelib);
public static string GetTypeLibName(System.Runtime.InteropServices.ComTypes.ITypeLib typelib);
[System.Security.SecurityCritical]
public static string GetTypeLibName(System.Runtime.InteropServices.ComTypes.ITypeLib typelib);
static member GetTypeLibName : System.Runtime.InteropServices.ComTypes.ITypeLib -> string
[<System.Security.SecurityCritical>]
static member GetTypeLibName : System.Runtime.InteropServices.ComTypes.ITypeLib -> string
Public Shared Function GetTypeLibName (typelib As ITypeLib) As String

매개 변수

typelib
ITypeLib

이름을 검색할 형식 라이브러리입니다.

반품

매개 변수가 가리키는 형식 라이브러리의 typelib 이름입니다.

특성

예외

매개 변수는 typelib .입니다 null.

설명

이 메서드에서 반환된 이름은 Microsoft ADO 형식 라이브러리의 ADODB와 같은 라이브러리 문과 함께 사용되는 식별자입니다. 이름은 파일 이름이 아닙니다.

메서드를 호출 UCOMITypeInfo.GetDocumentation 하고 첫 번째 매개 변수에 대한 -1 전달하여 형식 라이브러리 이름을 검색할 수도 있습니다.

추가 정보

적용 대상

GetTypeLibName(UCOMITypeLib)

주의

Use System.Runtime.InteropServices.Marshal.GetTypeLibName(ITypeLib pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.

형식 라이브러리의 이름을 검색합니다.

public:
 static System::String ^ GetTypeLibName(System::Runtime::InteropServices::UCOMITypeLib ^ pTLB);
public static string GetTypeLibName(System.Runtime.InteropServices.UCOMITypeLib pTLB);
[System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeLibName(ITypeLib pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)]
public static string GetTypeLibName(System.Runtime.InteropServices.UCOMITypeLib pTLB);
[System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeLibName(ITypeLib pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)]
[System.Security.SecurityCritical]
public static string GetTypeLibName(System.Runtime.InteropServices.UCOMITypeLib pTLB);
static member GetTypeLibName : System.Runtime.InteropServices.UCOMITypeLib -> string
[<System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeLibName(ITypeLib pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)>]
static member GetTypeLibName : System.Runtime.InteropServices.UCOMITypeLib -> string
[<System.Obsolete("Use System.Runtime.InteropServices.Marshal.GetTypeLibName(ITypeLib pTLB) instead. http://go.microsoft.com/fwlink/?linkid=14202&ID=0000011.", false)>]
[<System.Security.SecurityCritical>]
static member GetTypeLibName : System.Runtime.InteropServices.UCOMITypeLib -> string
Public Shared Function GetTypeLibName (pTLB As UCOMITypeLib) As String

매개 변수

pTLB
UCOMITypeLib

이름을 검색할 형식 라이브러리입니다.

반품

매개 변수가 가리키는 형식 라이브러리의 pTLB 이름입니다.

특성

설명

이 메서드에서 반환된 이름은 Microsoft ADO 형식 라이브러리의 ADODB와 같은 라이브러리 문과 함께 사용되는 식별자입니다. 이름은 파일 이름이 아닙니다.

메서드를 호출 UCOMITypeInfo.GetDocumentation 하고 첫 번째 매개 변수에 대한 -1 전달하여 형식 라이브러리 이름을 검색할 수도 있습니다.

추가 정보

적용 대상