|
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.232-beta+203aa83a5a82d50f387e69875549969ad138d6e0
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