Partager via


VsTextSpanSetClass.GetCount(Int32) Method

Definition

Returns the number of text spans.

public:
 virtual int GetCount([Runtime::InteropServices::Out] int % pcel) = Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet::GetCount;
public:
 virtual int GetCount([Runtime::InteropServices::Out] int % pcel);
 virtual int GetCount([Runtime::InteropServices::Out] int & pcel);
public virtual int GetCount (out int pcel);
abstract member GetCount : int -> int
override this.GetCount : int -> int
Public Overridable Function GetCount (ByRef pcel As Integer) As Integer

Parameters

pcel
Int32

[out] Specifies the number of text spans in the text image.

Returns

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

Implements

Applies to