Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
struct System.​Runtime.​InteropServices.​ComTypes.​ITypeLib
Assembly: System.Runtime.InteropServices
Provides the managed definition of the <see langword="ITypeLib" /> interface.
Methods
public
void
FindName​(string szNameBuf,
int lHashVal,
ITypeInfo[] ppTInfo,
int[] rgMemId,
Int16& pcFound)
public
void
GetDocumentation​(int index,
String& strName,
String& strDocString,
Int32& dwHelpContext,
String& strHelpFile)
public
int
GetTypeInfoCount​() Returns The number of type descriptions in the type library.
Returns the number of type descriptions in the type library.
public
bool
IsName​(string szNameBuf,
int lHashVal)
szNameBuf
The string to test. This is an in/out parameter.
lHashVal
The hash value of <paramref name="szNameBuf" /> .
Returns <see langword="true" /> if <paramref name="szNameBuf" /> was found in the type library; otherwise, <see langword="false" /> .
Indicates whether a passed-in string contains the name of a type or member described in the library.
public
void
ReleaseTLibAttr​(nint pTLibAttr)
pTLibAttr
The <see langword="TLIBATTR" /> structure to release.
Releases the <see cref="T:System.Runtime.InteropServices.TYPELIBATTR" /> structure originally obtained from the <see cref="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetLibAttr(System.IntPtr@)" /> method.