共用方式為


IVsTaskProvider3.GetColumn(Int32, VSTASKCOLUMN[]) Method

Definition

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

public:
 int GetColumn(int iColumn, cli::array <Microsoft::VisualStudio::Shell::Interop::VSTASKCOLUMN> ^ pColumn);
public:
 int GetColumn(int iColumn, Platform::Array <Microsoft::VisualStudio::Shell::Interop::VSTASKCOLUMN> ^ pColumn);
int GetColumn(int iColumn, std::Array <Microsoft::VisualStudio::Shell::Interop::VSTASKCOLUMN> const & pColumn);
public int GetColumn (int iColumn, Microsoft.VisualStudio.Shell.Interop.VSTASKCOLUMN[] pColumn);
abstract member GetColumn : int * Microsoft.VisualStudio.Shell.Interop.VSTASKCOLUMN[] -> int
Public Function GetColumn (iColumn As Integer, pColumn As VSTASKCOLUMN()) As Integer

Parameters

iColumn
Int32

[in] A value of type integer containing the Column Index.

pColumn
VSTASKCOLUMN[]

[out] A pointer to an array of objects of type VSTASKCOLUMN.

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

Applies to