Partager via


IVsXMLMemberIndexService.CreateXMLMemberIndex Method

Creates a member index object for the given metadata binary.

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

Syntax

'Déclaration
Function CreateXMLMemberIndex ( _
    pszBinaryName As String, _
    <OutAttribute> ByRef ppIndex As IVsXMLMemberIndex _
) As Integer
'Utilisation
Dim instance As IVsXMLMemberIndexService
Dim pszBinaryName As String
Dim ppIndex As IVsXMLMemberIndex
Dim returnValue As Integer

returnValue = instance.CreateXMLMemberIndex(pszBinaryName, _
    ppIndex)
int CreateXMLMemberIndex(
    string pszBinaryName,
    out IVsXMLMemberIndex ppIndex
)
int CreateXMLMemberIndex(
    [InAttribute] String^ pszBinaryName, 
    [OutAttribute] IVsXMLMemberIndex^% ppIndex
)
abstract CreateXMLMemberIndex : 
        pszBinaryName:string * 
        ppIndex:IVsXMLMemberIndex byref -> int 
function CreateXMLMemberIndex(
    pszBinaryName : String, 
    ppIndex : IVsXMLMemberIndex
) : int

Parameters

  • pszBinaryName
    Type: System.String
    [in] Pointer to a string containing the fully qualified name of the metadata file.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsXMLMemberIndexService::CreateXMLMemberIndex(
   [in] LPCOLESTR pszBinaryName, 
   [out] IVsXMLMemberIndex **ppIndex
);

.NET Framework Security

See Also

Reference

IVsXMLMemberIndexService Interface

IVsXMLMemberIndexService Members

Microsoft.VisualStudio.Shell.Interop Namespace