IVsCodeDefViewContext.GetCol(UInt32, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);