VsTextSpanSetClass.GetCount(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.