共用方式為


IVsTaskProvider3.GetColumn Method

Gets the definition of an indexed column (0 <= iColumn < nColumns)

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

Syntax

'宣告
Function GetColumn ( _
    iColumn As Integer, _
    <OutAttribute> pColumn As VSTASKCOLUMN() _
) As Integer
'用途
Dim instance As IVsTaskProvider3
Dim iColumn As Integer
Dim pColumn As VSTASKCOLUMN()
Dim returnValue As Integer

returnValue = instance.GetColumn(iColumn, _
    pColumn)
int GetColumn(
    int iColumn,
    VSTASKCOLUMN[] pColumn
)
int GetColumn(
    [InAttribute] int iColumn, 
    [OutAttribute] array<VSTASKCOLUMN>^ pColumn
)
abstract GetColumn : 
        iColumn:int * 
        pColumn:VSTASKCOLUMN[] byref -> int 
function GetColumn(
    iColumn : int, 
    pColumn : VSTASKCOLUMN[]
) : int

Parameters

  • iColumn
    Type: System.Int32
    [in] A value of type integer containing the Column Index.

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::GetColumn(
   [in] int iColumn, 
   [out] VSTASKCOLUMN* pColumn
);

.NET Framework Security

See Also

Reference

IVsTaskProvider3 Interface

IVsTaskProvider3 Members

Microsoft.VisualStudio.Shell.Interop Namespace