IVsXMLMemberIndex::ParseMemberSignature Method (String^, UInt32)

 

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)

int ParseMemberSignature(
	String^ pszSignature,
	[OutAttribute] unsigned int% pdwID
)

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.

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.

From vsshell.idl:

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