IVsTextView3::GetCanCaretAndSelectionMapToSurfaceBuffer Method (Int32)

 

Determines whether the view selection and caret can map to the underlying text buffer.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.11.0 (in Microsoft.VisualStudio.TextManager.Interop.11.0.dll)

int GetCanCaretAndSelectionMapToSurfaceBuffer(
	[OutAttribute] int% pbCanMap
)

Parameters

pbCanMap
Type: System::Int32

[out] Value is true if the selection and caret can map to the underlying text buffer; otherwise, false.

Return Value

Type: System::Int32

Returns S_OK if the method is successful; otherwise, returns an error code.

Return to top
Show: