Partager via


TaskProvider.IVsTaskProvider3.GetColumn Method

Gets the definition of the column with the specified index.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Déclaration
Private Function GetColumn ( _
    iColumn As Integer, _
    pColumn As VSTASKCOLUMN() _
) As Integer Implements IVsTaskProvider3.GetColumn
'Utilisation
Dim instance As TaskProvider
Dim iColumn As Integer
Dim pColumn As VSTASKCOLUMN()
Dim returnValue As Integer

returnValue = CType(instance, IVsTaskProvider3).GetColumn(iColumn, _
    pColumn)
int IVsTaskProvider3.GetColumn(
    int iColumn,
    VSTASKCOLUMN[] pColumn
)
private:
virtual int GetColumn(
    int iColumn, 
    array<VSTASKCOLUMN>^ pColumn
) sealed = IVsTaskProvider3::GetColumn
private abstract GetColumn : 
        iColumn:int * 
        pColumn:VSTASKCOLUMN[] -> int 
private override GetColumn : 
        iColumn:int * 
        pColumn:VSTASKCOLUMN[] -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32
When implemented by derived classes, S_OK or an error code.

Implements

IVsTaskProvider3.GetColumn(Int32, array<VSTASKCOLUMN[])

Remarks

By default this method returns E_FAIL().

.NET Framework Security

See Also

Reference

TaskProvider Class

TaskProvider Members

Microsoft.VisualStudio.Shell Namespace