Stack<T>.Capacity 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 total numbers of elements the internal data structure can hold without resizing.
public:
property int Capacity { int get(); };
C#
public int Capacity { get; }
member this.Capacity : int
Public ReadOnly Property Capacity As Integer
Termék | Verziók |
---|---|
.NET | 9, 10 |
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: