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

'Declaration
Function ParseMemberSignature ( _
    pszSignature As String, _
    <OutAttribute> ByRef pdwID As UInteger _
) As Integer
int ParseMemberSignature(
    string pszSignature,
    out uint pdwID
)
int ParseMemberSignature(
    [InAttribute] String^ pszSignature, 
    [OutAttribute] unsigned int% pdwID
)
abstract ParseMemberSignature : 
        pszSignature:string * 
        pdwID:uint32 byref -> int
function ParseMemberSignature(
    pszSignature : String, 
    pdwID : uint
) : int

Parameters

  • pszSignature
    Type: String

    [in] A string containing a member signature.

  • pdwID
    Type: UInt32%

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

Return Value

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

.NET Framework Security

See Also

Reference

IVsXMLMemberIndex Interface

Microsoft.VisualStudio.Shell.Interop Namespace