ITypeLib.FindName Method

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣言
Sub FindName ( _
    szNameBuf As String, _
    lHashVal As UInteger, _
    <OutAttribute> ByRef ppTInfo As Type, _
    <OutAttribute> rgMemId As Integer(), _
    <OutAttribute> ByRef pcFound As UShort, _
    <OutAttribute> ByRef pBstrLibName As String _
)
'使用
Dim instance As ITypeLib
Dim szNameBuf As String
Dim lHashVal As UInteger
Dim ppTInfo As Type
Dim rgMemId As Integer()
Dim pcFound As UShort
Dim pBstrLibName As String

instance.FindName(szNameBuf, lHashVal, _
    ppTInfo, rgMemId, pcFound, pBstrLibName)
void FindName(
    string szNameBuf,
    uint lHashVal,
    out Type ppTInfo,
    int[] rgMemId,
    out ushort pcFound,
    out string pBstrLibName
)
void FindName(
    [InAttribute] String^ szNameBuf, 
    [InAttribute] unsigned int lHashVal, 
    [OutAttribute] Type^% ppTInfo, 
    [OutAttribute] array<int>^ rgMemId, 
    [InAttribute] [OutAttribute] unsigned short% pcFound, 
    [OutAttribute] String^% pBstrLibName
)
function FindName(
    szNameBuf : String, 
    lHashVal : uint, 
    ppTInfo : Type, 
    rgMemId : int[], 
    pcFound : ushort, 
    pBstrLibName : String
)

Parameters

  • rgMemId
    Type: []

Permissions

See Also

Reference

ITypeLib Interface

ITypeLib Members

Microsoft.VisualStudio.OLE.Interop Namespace