Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
585 lines (557 sloc) 35.3 KB
<Type Name="ITypeLib" FullName="System.Runtime.InteropServices.ComTypes.ITypeLib">
<TypeSignature Language="C#" Value="public interface ITypeLib" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract ITypeLib" />
<TypeSignature Language="DocId" Value="T:System.Runtime.InteropServices.ComTypes.ITypeLib" />
<TypeSignature Language="VB.NET" Value="Public Interface ITypeLib" />
<TypeSignature Language="C++ CLI" Value="public interface class ITypeLib" />
<TypeSignature Language="F#" Value="type ITypeLib = interface" />
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0;netframework-4.8">
<AttributeName>System.Runtime.InteropServices.Guid("00020402-0000-0000-C000-000000000046")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6;xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0;netframework-4.8;netcore-2.2;dotnet-uwp-10.0;netcore-3.0;netstandard-2.1;netcore-3.1">
<AttributeName>System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netstandard-1.5;netstandard-1.6;netcore-2.2;dotnet-uwp-10.0;netcore-3.0;netstandard-2.1;netcore-3.1">
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netstandard-1.2;netstandard-1.3;netstandard-1.4">
<AttributeName>System.ComponentModel.EditorBrowsable</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides the managed definition of the <see langword="ITypeLib" /> interface.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For additional information about the `ITypeLib` interface, see the MSDN Library.
The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see [How to: Map HRESULTs and Exceptions](~/docs/framework/interop/how-to-map-hresults-and-exceptions.md).
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="FindName">
<MemberSignature Language="C#" Value="public void FindName (string szNameBuf, int lHashVal, System.Runtime.InteropServices.ComTypes.ITypeInfo[] ppTInfo, int[] rgMemId, ref short pcFound);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void FindName(string szNameBuf, int32 lHashVal, class System.Runtime.InteropServices.ComTypes.ITypeInfo[] ppTInfo, int32[] rgMemId, int16&amp; pcFound) cil managed" FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6;netstandard-2.0;netstandard-2.1" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.ComTypes.ITypeLib.FindName(System.String,System.Int32,System.Runtime.InteropServices.ComTypes.ITypeInfo[],System.Int32[],System.Int16@)" />
<MemberSignature Language="VB.NET" Value="Public Sub FindName (szNameBuf As String, lHashVal As Integer, ppTInfo As ITypeInfo(), rgMemId As Integer(), ByRef pcFound As Short)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void FindName(System::String ^ szNameBuf, int lHashVal, cli::array &lt;System::Runtime::InteropServices::ComTypes::ITypeInfo ^&gt; ^ ppTInfo, cli::array &lt;int&gt; ^ rgMemId, short % pcFound);" />
<MemberSignature Language="F#" Value="abstract member FindName : string * int * System.Runtime.InteropServices.ComTypes.ITypeInfo[] * int[] * int16 -&gt; unit" Usage="iTypeLib.FindName (szNameBuf, lHashVal, ppTInfo, rgMemId, pcFound)" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void FindName(string szNameBuf, int32 lHashVal, [out] class System.Runtime.InteropServices.ComTypes.ITypeInfo[] ppTInfo, [out] int32[] rgMemId, int16&amp; pcFound) cil managed" FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="szNameBuf" Type="System.String" />
<Parameter Name="lHashVal" Type="System.Int32" />
<Parameter Name="ppTInfo" Type="System.Runtime.InteropServices.ComTypes.ITypeInfo[]" />
<Parameter Name="rgMemId" Type="System.Int32[]" />
<Parameter Name="pcFound" Type="System.Int16" RefType="ref" />
</Parameters>
<Docs>
<param name="szNameBuf">The name to search for. This is an in/out parameter.</param>
<param name="lHashVal">A hash value to speed up the search, computed by the <see langword="LHashValOfNameSys" /> function. If <paramref name="lHashVal" /> is 0, a value is computed.</param>
<param name="ppTInfo">When this method returns, contains an array of pointers to the type descriptions that contain the name specified in <paramref name="szNameBuf" />. This parameter is passed uninitialized.</param>
<param name="rgMemId">An array of the <see langword="MEMBERID" /> 's of the found items; <paramref name="rgMemId" /> [i] is the <see langword="MEMBERID" /> that indexes into the type description specified by <paramref name="ppTInfo" /> [i]. Cannot be <see langword="null" />.</param>
<param name="pcFound">On entry, indicates how many instances to look for. For example, <paramref name="pcFound" /> = 1 can be called to find the first occurrence. The search stops when one instance is found.
On exit, indicates the number of instances that were found. If the <see langword="in" /> and <see langword="out" /> values of <paramref name="pcFound" /> are identical, there might be more type descriptions that contain the name.</param>
<summary>Finds occurrences of a type description in a type library.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
There must be enough room in the `rgMemId` parameter to hold `pcFound` entries.
If the type library contains the name specified by the `szNameBuf` parameter, `szNameBuf` is overwritten with the name found in the type library, using the casing found in the type library. For example, if type library contains the name "aBc" and the <xref:System.Runtime.InteropServices.ComTypes.ITypeLib.FindName%2A> method passes "abc" as the `szNameBuf` parameter, `szNameBuf` becomes "aBc" when the method returns.
For additional information about `ITypeLib::FindName`, see the MSDN Library.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetDocumentation">
<MemberSignature Language="C#" Value="public void GetDocumentation (int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void GetDocumentation(int32 index, [out] string&amp; strName, [out] string&amp; strDocString, [out] int32&amp; dwHelpContext, [out] string&amp; strHelpFile) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetDocumentation(System.Int32,System.String@,System.String@,System.Int32@,System.String@)" />
<MemberSignature Language="VB.NET" Value="Public Sub GetDocumentation (index As Integer, ByRef strName As String, ByRef strDocString As String, ByRef dwHelpContext As Integer, ByRef strHelpFile As String)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; 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);" />
<MemberSignature Language="F#" Value="abstract member GetDocumentation : int * string * string * int * string -&gt; unit" Usage="iTypeLib.GetDocumentation (index, strName, strDocString, dwHelpContext, strHelpFile)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="strName" Type="System.String" RefType="out" />
<Parameter Name="strDocString" Type="System.String" RefType="out" />
<Parameter Name="dwHelpContext" Type="System.Int32" RefType="out" />
<Parameter Name="strHelpFile" Type="System.String" RefType="out" />
</Parameters>
<Docs>
<param name="index">The index of the type description whose documentation is to be returned.</param>
<param name="strName">When this method returns, contains a string that represents the name of the specified item. This parameter is passed uninitialized.</param>
<param name="strDocString">When this method returns, contains a string that represents the documentation string for the specified item. This parameter is passed uninitialized.</param>
<param name="dwHelpContext">When this method returns, contains the Help context identifier associated with the specified item. This parameter is passed uninitialized.</param>
<param name="strHelpFile">When this method returns, contains a string that represents the fully qualified name of the Help file. This parameter is passed uninitialized.</param>
<summary>Retrieves the library's documentation string, the complete Help file name and path, and the context identifier for the library Help topic in the Help file.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For additional information about `ITypeLib::GetDocumentation`, see the MSDN Library.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetLibAttr">
<MemberSignature Language="C#" Value="public void GetLibAttr (out IntPtr ppTLibAttr);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void GetLibAttr([out] native int&amp; ppTLibAttr) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetLibAttr(System.IntPtr@)" />
<MemberSignature Language="VB.NET" Value="Public Sub GetLibAttr (ByRef ppTLibAttr As IntPtr)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void GetLibAttr([Runtime::InteropServices::Out] IntPtr % ppTLibAttr);" />
<MemberSignature Language="F#" Value="abstract member GetLibAttr : nativeint -&gt; unit" Usage="iTypeLib.GetLibAttr ppTLibAttr" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="ppTLibAttr" Type="System.IntPtr" RefType="out" />
</Parameters>
<Docs>
<param name="ppTLibAttr">When this method returns, contains a structure that contains the library's attributes. This parameter is passed uninitialized.</param>
<summary>Retrieves the structure that contains the library's attributes.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The values of the structure referenced by the `ppTLibAttr` parameter can be obtained by the <xref:System.Runtime.InteropServices.Marshal.PtrToStructure%2A> method.
For additional information about `ITypeLib::GetTypeLibAttr`, see the MSDN Library.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetTypeComp">
<MemberSignature Language="C#" Value="public void GetTypeComp (out System.Runtime.InteropServices.ComTypes.ITypeComp ppTComp);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void GetTypeComp([out] class System.Runtime.InteropServices.ComTypes.ITypeComp&amp; ppTComp) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetTypeComp(System.Runtime.InteropServices.ComTypes.ITypeComp@)" />
<MemberSignature Language="VB.NET" Value="Public Sub GetTypeComp (ByRef ppTComp As ITypeComp)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void GetTypeComp([Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::ITypeComp ^ % ppTComp);" />
<MemberSignature Language="F#" Value="abstract member GetTypeComp : ITypeComp -&gt; unit" Usage="iTypeLib.GetTypeComp ppTComp" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="ppTComp" Type="System.Runtime.InteropServices.ComTypes.ITypeComp" RefType="out" />
</Parameters>
<Docs>
<param name="ppTComp">When this method returns, contains an instance of a <see langword="ITypeComp" /> instance for this <see langword="ITypeLib" />. This parameter is passed uninitialized.</param>
<summary>Enables a client compiler to bind to a library's types, variables, constants, and global functions.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For additional information about `ITypeLib::GetTypeComp`, see the MSDN Library.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetTypeInfo">
<MemberSignature Language="C#" Value="public void GetTypeInfo (int index, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTI);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void GetTypeInfo(int32 index, [out] class System.Runtime.InteropServices.ComTypes.ITypeInfo&amp; ppTI) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetTypeInfo(System.Int32,System.Runtime.InteropServices.ComTypes.ITypeInfo@)" />
<MemberSignature Language="VB.NET" Value="Public Sub GetTypeInfo (index As Integer, ByRef ppTI As ITypeInfo)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void GetTypeInfo(int index, [Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::ITypeInfo ^ % ppTI);" />
<MemberSignature Language="F#" Value="abstract member GetTypeInfo : int * ITypeInfo -&gt; unit" Usage="iTypeLib.GetTypeInfo (index, ppTI)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="ppTI" Type="System.Runtime.InteropServices.ComTypes.ITypeInfo" RefType="out" />
</Parameters>
<Docs>
<param name="index">The index of the <see langword="ITypeInfo" /> interface to return.</param>
<param name="ppTI">When this method returns, contains an <see langword="ITypeInfo" /> describing the type referenced by <paramref name="index" />. This parameter is passed uninitialized.</param>
<summary>Retrieves the specified type description in the library.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For additional information about `ITypeLib::GetTypeInfo`, see the MSDN Library.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetTypeInfoCount">
<MemberSignature Language="C#" Value="public int GetTypeInfoCount ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetTypeInfoCount() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetTypeInfoCount" />
<MemberSignature Language="VB.NET" Value="Public Function GetTypeInfoCount () As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; int GetTypeInfoCount();" />
<MemberSignature Language="F#" Value="abstract member GetTypeInfoCount : unit -&gt; int" Usage="iTypeLib.GetTypeInfoCount " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the number of type descriptions in the type library.</summary>
<returns>The number of type descriptions in the type library.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For additional information about `ITypeLib::GetTypeInfoCount`, see the MSDN Library.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetTypeInfoOfGuid">
<MemberSignature Language="C#" Value="public void GetTypeInfoOfGuid (ref Guid guid, out System.Runtime.InteropServices.ComTypes.ITypeInfo ppTInfo);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void GetTypeInfoOfGuid(valuetype System.Guid&amp; guid, [out] class System.Runtime.InteropServices.ComTypes.ITypeInfo&amp; ppTInfo) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetTypeInfoOfGuid(System.Guid@,System.Runtime.InteropServices.ComTypes.ITypeInfo@)" />
<MemberSignature Language="VB.NET" Value="Public Sub GetTypeInfoOfGuid (ByRef guid As Guid, ByRef ppTInfo As ITypeInfo)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void GetTypeInfoOfGuid(Guid % guid, [Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::ITypeInfo ^ % ppTInfo);" />
<MemberSignature Language="F#" Value="abstract member GetTypeInfoOfGuid : Guid * ITypeInfo -&gt; unit" Usage="iTypeLib.GetTypeInfoOfGuid (guid, ppTInfo)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="guid" Type="System.Guid" RefType="ref" />
<Parameter Name="ppTInfo" Type="System.Runtime.InteropServices.ComTypes.ITypeInfo" RefType="out" />
</Parameters>
<Docs>
<param name="guid">The IID of the interface or CLSID of the class whose type info is requested.</param>
<param name="ppTInfo">When this method returns, contains the requested <see langword="ITypeInfo" /> interface. This parameter is passed uninitialized.</param>
<summary>Retrieves the type description that corresponds to the specified GUID.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For additional information about `ITypeLib::GetTypeInfoOfGuid`, see the MSDN Library.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetTypeInfoType">
<MemberSignature Language="C#" Value="public void GetTypeInfoType (int index, out System.Runtime.InteropServices.ComTypes.TYPEKIND pTKind);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void GetTypeInfoType(int32 index, [out] valuetype System.Runtime.InteropServices.ComTypes.TYPEKIND&amp; pTKind) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.ComTypes.ITypeLib.GetTypeInfoType(System.Int32,System.Runtime.InteropServices.ComTypes.TYPEKIND@)" />
<MemberSignature Language="VB.NET" Value="Public Sub GetTypeInfoType (index As Integer, ByRef pTKind As TYPEKIND)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void GetTypeInfoType(int index, [Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::TYPEKIND % pTKind);" />
<MemberSignature Language="F#" Value="abstract member GetTypeInfoType : int * TYPEKIND -&gt; unit" Usage="iTypeLib.GetTypeInfoType (index, pTKind)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
<Parameter Name="pTKind" Type="System.Runtime.InteropServices.ComTypes.TYPEKIND" RefType="out" />
</Parameters>
<Docs>
<param name="index">The index of the type description within the type library.</param>
<param name="pTKind">When this method returns, contains a reference to the <see langword="TYPEKIND" /> enumeration for the type description. This parameter is passed uninitialized.</param>
<summary>Retrieves the type of a type description.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For additional information about `ITypeLib::GetTypeInfoOfType`, see the MSDN Library.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="IsName">
<MemberSignature Language="C#" Value="public bool IsName (string szNameBuf, int lHashVal);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool IsName(string szNameBuf, int32 lHashVal) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.ComTypes.ITypeLib.IsName(System.String,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Function IsName (szNameBuf As String, lHashVal As Integer) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; bool IsName(System::String ^ szNameBuf, int lHashVal);" />
<MemberSignature Language="F#" Value="abstract member IsName : string * int -&gt; bool" Usage="iTypeLib.IsName (szNameBuf, lHashVal)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="szNameBuf" Type="System.String" />
<Parameter Name="lHashVal" Type="System.Int32" />
</Parameters>
<Docs>
<param name="szNameBuf">The string to test. This is an in/out parameter.</param>
<param name="lHashVal">The hash value of <paramref name="szNameBuf" />.</param>
<summary>Indicates whether a passed-in string contains the name of a type or member described in the library.</summary>
<returns>
<see langword="true" /> if <paramref name="szNameBuf" /> was found in the type library; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If the type library contains the string specified by the `szNameBuf` parameter, `szNameBuf` is overwritten with the name found in the type library, using the casing found in the type library. For example, if the type library contains the string "aBc" and the <xref:System.Runtime.InteropServices.ComTypes.ITypeLib.FindName%2A> method passes "abc" as the `szNameBuf` parameter, `szNameBuf` becomes "aBc" when the method returns.
For additional information about `ITypeLib::IsName`, see the MSDN Library.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ReleaseTLibAttr">
<MemberSignature Language="C#" Value="public void ReleaseTLibAttr (IntPtr pTLibAttr);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ReleaseTLibAttr(native int pTLibAttr) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.InteropServices.ComTypes.ITypeLib.ReleaseTLibAttr(System.IntPtr)" />
<MemberSignature Language="VB.NET" Value="Public Sub ReleaseTLibAttr (pTLibAttr As IntPtr)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; void ReleaseTLibAttr(IntPtr pTLibAttr);" />
<MemberSignature Language="F#" Value="abstract member ReleaseTLibAttr : nativeint -&gt; unit" Usage="iTypeLib.ReleaseTLibAttr pTLibAttr" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime.InteropServices</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.1.1.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pTLibAttr" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="pTLibAttr">The <see langword="TLIBATTR" /> structure to release.</param>
<summary>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.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For additional information about `ITypeLib::ReleaseTLibAttr`, see the MSDN Library.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.