共用方式為


IVsTaskProvider3.GetColumnCount(Int32) Method

Definition

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

public:
 int GetColumnCount([Runtime::InteropServices::Out] int % pnColumns);
int GetColumnCount([Runtime::InteropServices::Out] int & pnColumns);
public int GetColumnCount (out int pnColumns);
abstract member GetColumnCount : int -> int
Public Function GetColumnCount (ByRef pnColumns As Integer) As Integer

Parameters

pnColumns
Int32

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

Returns

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  
);  

Applies to