IVsExpansionSession::GetSnippetSpan Method (array<TextSpan>^)
Visual Studio 2015
Gets the span of the code snippet.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Parameters
- pts
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^
[out] The span of the code snippet.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr2.idl:
HRESULT IVsExpansionSession::GetSnippetSpan( [out]TextSpan *pts );
The span returned describes the full position and extent of the code snippet after it has been inserted and formatted.
Show: