StringSegment.Item[Int32] Property
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.
Gets the Char at a specified position in the current StringSegment.
public:
property char default[int] { char get(int index); };
C#
public char this[int index] { get; }
member this.Item(int) : char
Default Public ReadOnly Property Item(index As Integer) As Char
- index
- Int32
The offset into the StringSegment
The Char at a specified position.
index
is greater than or equal to Length or less than zero.
Termék | Verziók |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
.NET-visszajelzés
A(z) .NET egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást: