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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.