|
ArrayExtensionsValidateParametersT Method
|
Validates that the specified startIndex and length are valid within the given array.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
Syntaxpublic static void ValidateParameters<T>(
this T[] array,
int startIndex,
int length
)
public:
[ExtensionAttribute]
generic<typename T>
static void ValidateParameters(
array<T>^ array,
int startIndex,
int length
)
JavaScript does not support generic types or methods.
View SourceParameters
- array T
- Array to validate.
- startIndex Int32
- 0-based start index into the array.
- length Int32
- Valid number of items within array from startIndex.
Type Parameters
- T
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
T. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions
See Also