Partager 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
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 GetColumnCount ( _
    <OutAttribute> ByRef count As Integer _
) As Integer Implements IVsTaskProvider3.GetColumnCount
'Utilisation
Dim instance As TaskProvider
Dim count As Integer
Dim returnValue As Integer

returnValue = CType(instance, IVsTaskProvider3).GetColumnCount(count)
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

TaskProvider Members

Microsoft.VisualStudio.Shell Namespace