共用方式為


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

'宣告
Function GetColumnCount ( _
    <OutAttribute> ByRef pnColumns As Integer _
) As Integer
'用途
Dim instance As IVsTaskProvider3
Dim pnColumns As Integer
Dim returnValue As Integer

returnValue = instance.GetColumnCount(pnColumns)
int GetColumnCount(
    out int pnColumns
)
int GetColumnCount(
    [OutAttribute] int% pnColumns
)
abstract GetColumnCount : 
        pnColumns:int byref -> int 
function GetColumnCount(
    pnColumns : int
) : int

Parameters

  • pnColumns
    Type: System.Int32%
    [out] A pointer to an integer type containing the number of columns supported by the provider.

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 IVsTaskProvider3::GetColumnCount(
   [out] int* pnColumns
);

.NET Framework Security

See Also

Reference

IVsTaskProvider3 Interface

IVsTaskProvider3 Members

Microsoft.VisualStudio.Shell.Interop Namespace