XmlSerializationReader.EnsureArrayIndex(Array, Int32, Type) 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.
Ensures that a given array, or a copy, is large enough to contain a specified index.
This API supports the product infrastructure and is not intended to be used directly from your code.
protected:
Array ^ EnsureArrayIndex(Array ^ a, int index, Type ^ elementType);
protected Array EnsureArrayIndex (Array? a, int index, Type elementType);
protected Array EnsureArrayIndex (Array a, int index, Type elementType);
member this.EnsureArrayIndex : Array * int * Type -> Array
Protected Function EnsureArrayIndex (a As Array, index As Integer, elementType As Type) As Array
Parameters
- index
- Int32
The required index.
Returns
The existing Array, if it is already large enough; otherwise, a new, larger array that contains the original array's elements.
Remarks
The protected members of XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin