ContainerSpan 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public ref class ContainerSpan : System::CommandLine::Rendering::TextSpan, System::Collections::Generic::IEnumerable<System::CommandLine::Rendering::TextSpan ^>, System::Collections::Generic::IReadOnlyCollection<System::CommandLine::Rendering::TextSpan ^>, System::Collections::Generic::IReadOnlyList<System::CommandLine::Rendering::TextSpan ^>
public class ContainerSpan : System.CommandLine.Rendering.TextSpan, System.Collections.Generic.IEnumerable<System.CommandLine.Rendering.TextSpan>, System.Collections.Generic.IReadOnlyCollection<System.CommandLine.Rendering.TextSpan>, System.Collections.Generic.IReadOnlyList<System.CommandLine.Rendering.TextSpan>
type ContainerSpan = class
inherit TextSpan
interface IReadOnlyList<TextSpan>
interface seq<TextSpan>
interface IEnumerable
interface IReadOnlyCollection<TextSpan>
Public Class ContainerSpan
Inherits TextSpan
Implements IEnumerable(Of TextSpan), IReadOnlyCollection(Of TextSpan), IReadOnlyList(Of TextSpan)
- 继承
- 实现
构造函数
| 名称 | 说明 |
|---|---|
| ContainerSpan(TextSpan[]) | |
属性
| 名称 | 说明 |
|---|---|
| ContentLength | |
| Count | |
| End | (继承自 TextSpan) |
| Item[Int32] | |
| Parent | (继承自 TextSpan) |
| Root | (继承自 TextSpan) |
| Start | (继承自 TextSpan) |
方法
| 名称 | 说明 |
|---|---|
| Add(String) | |
| Add(TextSpan) | |
| GetEnumerator() | |
| ToString() | (继承自 TextSpan) |
| ToString(OutputMode) | (继承自 TextSpan) |
| WriteTo(TextWriter, OutputMode) | |
显式接口实现
| 名称 | 说明 |
|---|---|
| IEnumerable.GetEnumerator() | |