共用方式為


IVsXMLMemberIndexService.CreateXMLMemberIndex Method

Definition

Creates a member index object for the given metadata binary.

public:
 int CreateXMLMemberIndex(System::String ^ pszBinaryName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsXMLMemberIndex ^ % ppIndex);
public:
 int CreateXMLMemberIndex(Platform::String ^ pszBinaryName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsXMLMemberIndex ^ &  ppIndex);
int CreateXMLMemberIndex(std::wstring const & pszBinaryName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsXMLMemberIndex const & & ppIndex);
public int CreateXMLMemberIndex (string pszBinaryName, out Microsoft.VisualStudio.Shell.Interop.IVsXMLMemberIndex ppIndex);
abstract member CreateXMLMemberIndex : string * IVsXMLMemberIndex -> int
Public Function CreateXMLMemberIndex (pszBinaryName As String, ByRef ppIndex As IVsXMLMemberIndex) As Integer

Parameters

pszBinaryName
String

[in] Pointer to a string containing the fully qualified name of the metadata file.

ppIndex
IVsXMLMemberIndex

[out] Pointer to an IVsXMLMemberIndex interface providing an index to the metadata.

Returns

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  
);  

Applies to