Partager via


IVsXMLMemberIndex.ParseMemberSignature Method

Parses a member signature into a unique member identifier.

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

Syntax

'Déclaration
Function ParseMemberSignature ( _
    pszSignature As String, _
    <OutAttribute> ByRef pdwID As UInteger _
) As Integer
'Utilisation
Dim instance As IVsXMLMemberIndex
Dim pszSignature As String
Dim pdwID As UInteger
Dim returnValue As Integer

returnValue = instance.ParseMemberSignature(pszSignature, _
    pdwID)
int ParseMemberSignature(
    string pszSignature,
    out uint pdwID
)
int ParseMemberSignature(
    [InAttribute] String^ pszSignature, 
    [OutAttribute] unsigned int% pdwID
)
function ParseMemberSignature(
    pszSignature : String, 
    pdwID : uint
) : int

Parameters

  • pszSignature
    Type: System.String

    [in] A string containing a member signature.

  • pdwID
    Type: System.UInt32%

    [out] Unsigned integer. A member identifier generated by the underlying parser. Used in GetMemberXML.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

The method takes the signature for the method, namespace, type, field, property or event and returns an identifier. You can use this identifier later to retrieve the member's XML. The identifier remains valid throughout the lifetime of this member index object, even if the XML source file changes.

COM Signature

From vsshell.idl:

HRESULT IVsXMLMemberIndex::ParseMemberSignature(
   [in] LPCOLESTR pszSignature, 
   [out] DWORD_PTR *pdwID
);

Permissions

See Also

Reference

IVsXMLMemberIndex Interface

IVsXMLMemberIndex Members

Microsoft.VisualStudio.Shell.Interop Namespace