|
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.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
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