Share via


TaskProvider.IVsTaskProvider3.GetColumnCount Method

Gets the total number of columns supported by this provider, including columns that are not visible by default.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Private Function GetColumnCount ( _
    <OutAttribute> ByRef count As Integer _
) As Integer Implements IVsTaskProvider3.GetColumnCount
int IVsTaskProvider3.GetColumnCount(
    out int count
)
private:
virtual int GetColumnCount(
    [OutAttribute] int% count
) sealed = IVsTaskProvider3::GetColumnCount
private abstract GetColumnCount : 
        count:int byref -> int  
private override GetColumnCount : 
        count:int byref -> int
JScript does not support explicit interface implementations.

Parameters

  • count
    Type: System.Int32%

    [out] Returns the total number of columns. By default returns 0.

Return Value

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

Implements

IVsTaskProvider3.GetColumnCount(Int32%)

Remarks

By default this method returns E_FAIL.

.NET Framework Security

See Also

Reference

TaskProvider Class

Microsoft.VisualStudio.Shell Namespace