|
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.251-beta+c370f3da3791592278238855631f53a5ff418c68
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