IVsTaskItem3::OnLinkClicked Method (Int32, Int32)

 

If the user clicks on an underlined link in a value of type TVT_LINKTEXT, this method is called with the column field and the link index (the first link in a given value is link 0). The task item should take whatever action is appropriate.

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

int OnLinkClicked(
	int iField,
	int iLinkIndex
)

Parameters

iField
Type: System::Int32

[in] An integer value representing the Field Column to use.

iLinkIndex
Type: System::Int32

[in] An integer value containing the Link Index.

Return Value

Type: System::Int32

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

From vsshell80.idl:

HRESULT IVsTaskItem3::OnLinkClicked([in] int iField, [in] int iLinkIndex);
Return to top
Show: