共用方式為


IVsXMLMemberIndexService Interface

Enables access to XML documentation corresponding to given metadata files. You can get an instance of the interface from the SVsXMLMemberIndexService (SID_SVsXMLMemberIndexService) service.

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

Syntax

'宣告
<GuidAttribute("D31E676B-D416-4DA7-977E-20E00AAE1118")> _
<InterfaceTypeAttribute()> _
Public Interface IVsXMLMemberIndexService
'用途
Dim instance As IVsXMLMemberIndexService
[GuidAttribute("D31E676B-D416-4DA7-977E-20E00AAE1118")]
[InterfaceTypeAttribute()]
public interface IVsXMLMemberIndexService
[GuidAttribute(L"D31E676B-D416-4DA7-977E-20E00AAE1118")]
[InterfaceTypeAttribute()]
public interface class IVsXMLMemberIndexService
[<GuidAttribute("D31E676B-D416-4DA7-977E-20E00AAE1118")>]
[<InterfaceTypeAttribute()>]
type IVsXMLMemberIndexService =  interface end
public interface IVsXMLMemberIndexService

Remarks

Use of this service is straightforward. First, query for the index service. Then, for each metadata file you want XML for, call CreateXMLMemberIndex with the fully qualified name of the metadata file. The service locates the appropriate XML file based on locale, etc., and returns a member index.

See Also

Reference

IVsXMLMemberIndexService Members

Microsoft.VisualStudio.Shell.Interop Namespace