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
‘선언
Function CreateXMLMemberIndex ( _
pszBinaryName As String, _
<OutAttribute> ByRef ppIndex As IVsXMLMemberIndex _
) As Integer
‘사용 방법
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.
- ppIndex
Type: Microsoft.VisualStudio.Shell.Interop.IVsXMLMemberIndex%
[out] Pointer to an IVsXMLMemberIndex interface providing an index to the metadata.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsXMLMemberIndexService Interface