Compartilhar via


IVsTaskProvider3.GetColumnCount Method

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

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

Syntax

'Declaration
Function GetColumnCount ( _
    <OutAttribute> ByRef pnColumns As Integer _
) As Integer
int GetColumnCount(
    out int pnColumns
)
int GetColumnCount(
    [OutAttribute] int% pnColumns
)
abstract GetColumnCount : 
        pnColumns:int byref -> int
function GetColumnCount(
    pnColumns : int
) : int

Parameters

  • pnColumns
    Type: Int32%

    [out] A pointer to an integer type containing the number of columns supported by the provider.

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsTaskProvider3::GetColumnCount(
   [out] int* pnColumns
);

.NET Framework Security

See Also

Reference

IVsTaskProvider3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace