Partager via


IVsXMLMemberIndex.BuildMemberIndex Method

Creates or updates the XML file member index.

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

Syntax

'Déclaration
Function BuildMemberIndex As Integer
'Utilisation
Dim instance As IVsXMLMemberIndex
Dim returnValue As Integer

returnValue = instance.BuildMemberIndex()
int BuildMemberIndex()
int BuildMemberIndex()
abstract BuildMemberIndex : unit -> int 
function BuildMemberIndex() : int

Return Value

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

Remarks

You do not need to call this method directly. The GetMemberXML method calls it automatically before proceeding.

This method returns when the index is ready for use. The method blocks any other thread that had already entered a call to this function, or a call to GetMemberXML bringing the index up to date.

.NET Framework Security

See Also

Reference

IVsXMLMemberIndex Interface

IVsXMLMemberIndex Members

Microsoft.VisualStudio.Shell.Interop Namespace