IVsContainedLanguageCodeSupport::GetMemberNavigationPoint Method (String^, String^, array<TextSpan>^, UInt32)
Visual Studio 2015
Obtains the position (for example the starting character index, starting line, ending character index, ending line, and item ID of file) in the secondary buffer coordinates or partial class file buffer coordinates, of a given a class member, that could be cached and later used to navigate to that member.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int GetMemberNavigationPoint( String^ pszClassName, String^ pszUniqueMemberID, array<TextSpan>^ pSpanNavPoint, [OutAttribute] unsigned int% pItemID )
Parameters
- pszClassName
-
Type:
System::String^
[in] Name of the class.
- pszUniqueMemberID
-
Type:
System::String^
[in] Unique member identifier (as might be returned from the GetEventHandlerMemberID method).
- pSpanNavPoint
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^
[in, out] A TextSpan object that is filled in with the position in the secondary buffer of the specified member.
- pItemID
-
Type:
System::UInt32
[out] Returns the item ID of the parent document. This is a unique identifier or one of the following values: VSITEMID_NIL, VSITEMID_ROOT or VSITEMID_SELECTION.
From singlefileeditor.idl:
HRESULT GetMemberNavigationPoint( [in] LPCWSTR pszClassName, [in] LPCWSTR pszUniqueMemberID, [out] TextSpan* pSpanNavPoint, [out] VSITEMID* pItemID );
Show: