Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function OnLinkClicked ( _
iField As Integer, _
iLinkIndex As Integer _
) As Integer
int OnLinkClicked(
int iField,
int iLinkIndex
)
int OnLinkClicked(
[InAttribute] int iField,
[InAttribute] int iLinkIndex
)
abstract OnLinkClicked :
iField:int *
iLinkIndex:int -> int
function OnLinkClicked(
iField : int,
iLinkIndex : int
) : int
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.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsTaskItem3::OnLinkClicked([in] int iField, [in] int iLinkIndex);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.