IVsCompletionSet::GetInitialExtent Method (Int32, Int32, Int32)
Determines where to display the completion set list in the editor.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
int GetInitialExtent( [OutAttribute] int% piLine, [OutAttribute] int% piStartCol, [OutAttribute] int% piEndCol )
Parameters
- piLine
-
Type:
System::Int32
[out] Returns the line number of the characters that should not be obscured.
- piStartCol
-
Type:
System::Int32
[out] Returns the column number of the first character that should not be obscured.
- piEndCol
-
Type:
System::Int32
[out] Returns the last character in the span that should not be obscured. This must be on the same line as piLine.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsCompletionSet::GetInitialExtent( [out] long *piLine, [out] long *piStartCol, [out] long *piEndCol );
Use this method to tell the view where to place the completion box. By specifying values for piLine, piCol and piLen, you are indicating a span of text that the view should not obscure with the completion box. If the value of the piLen parameter is set to zero, then an anchor coordinate (piCol, piLine) must be provided.