|
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.260-beta+9373f561033d5ae7a659b391f0519127d93b43ca
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