VsTextImageClass::GetSpanLength Method (array<TextSpan>^, Int32)

 

Returns the number of characters in a text span.

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

public:
virtual int GetSpanLength(
	array<TextSpan>^ pts,
	[OutAttribute] int% pcch
)

Parameters

pts
Type: array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^

[in] Pointer to a TextSpan structure.

pcch
Type: System::Int32

[out] Pointer to a character count of the text span.

Return Value

Type: System::Int32

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

Return to top
Show: