IVsCodeDefViewContext::GetCol Method (UInt32, UInt32)

 

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

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

int GetCol(
	unsigned int iItem,
	[OutAttribute] unsigned int% piCol
)

Parameters

iItem
Type: System::UInt32

[in] Index of the context item.

piCol
Type: System::UInt32

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

Return Value

Type: System::Int32

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

From vsshell80.idl:

HRESULT IVsCodeDefViewContext::GetCol(
   ULONG iItem, 
   ULONG *piCol
);
Return to top
Show: