XmlSerializationReaderEnsureArrayIndex Method |
Ensures that a given array, or a copy, is large enough to contain a specified
index.
Namespace: System.Xml.SerializationAssembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax protected Array EnsureArrayIndex(
Array a,
int index,
Type elementType
)
Parameters
- a
- Type: SystemArray
The System.Array that is being checked. - index
- Type: SystemInt32
The required index. - elementType
- Type: SystemType
The System.Type of the array's elements.
Return Value
Type:
Array
The existing System.Array, if it is already large enough; otherwise, a new,
larger array that contains the original array's elements.
See Also