IVsXMLMemberIndex.ParseMemberSignature(String, UInt32) Method

Definition

Parses a member signature into a unique member identifier.

public:
 int ParseMemberSignature(System::String ^ pszSignature, [Runtime::InteropServices::Out] System::UInt32 % pdwID);
int ParseMemberSignature(std::wstring const & pszSignature, [Runtime::InteropServices::Out] unsigned int & pdwID);
public int ParseMemberSignature (string pszSignature, out uint pdwID);
abstract member ParseMemberSignature : string * uint32 -> int
Public Function ParseMemberSignature (pszSignature As String, ByRef pdwID As UInteger) As Integer

Parameters

pszSignature
String

[in] A string containing a member signature.

pdwID
UInt32

[out] Unsigned integer. A member identifier generated by the underlying parser. Used in GetMemberXML(UInt32, String).

Returns

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

Applies to