次の方法で共有


IVsCodeDefViewContext.GetCol(UInt32, UInt32) Method

Definition

Retrieves the column position of an item based on its index in a list of context items.

public:
 int GetCol(System::UInt32 iItem, [Runtime::InteropServices::Out] System::UInt32 % piCol);
int GetCol(unsigned int iItem, [Runtime::InteropServices::Out] unsigned int & piCol);
public int GetCol (uint iItem, out uint piCol);
abstract member GetCol : uint32 * uint32 -> int
Public Function GetCol (iItem As UInteger, ByRef piCol As UInteger) As Integer

Parameters

iItem
UInt32

[in] Index of the context item.

piCol
UInt32

[out] Column position of the item in the CodeDefinition tool window.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsCodeDefViewContext::GetCol(  
   ULONG iItem,   
   ULONG *piCol  
);  

Applies to