VsTextLineStorageClass::Storage_GetCharsInSpan Method (array<TextSpan>^, Int32)
Visual Studio 2015
Gets the number of characters in the specified span.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
public: virtual int Storage_GetCharsInSpan( array<TextSpan>^ pSpanToMeasure, [OutAttribute] int% piChars )
Parameters
- pSpanToMeasure
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^
[in] The span within which to count the characters.
- piChars
-
Type:
System::Int32
[out] The number of characters in the span.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: