public class DataGridViewRowCollection extends NetObjectEnumerable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.DataGridViewRowCollection
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.DataGridViewRowCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
DataGridViewRowCollection() |
DataGridViewRowCollection(DataGridView dataGridView) |
DataGridViewRowCollection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Add() |
int |
Add(DataGridViewRow dataGridViewRow) |
int |
Add(int count) |
int |
Add(NetObject... values) |
void |
addCollectionChanged(CollectionChangeEventHandler handler) |
int |
AddCopies(int indexSource,
int count) |
int |
AddCopy(int indexSource) |
void |
AddRange(DataGridViewRow... dataGridViewRows) |
static DataGridViewRowCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataGridViewRowCollection, a cast assert is made to check if types are compatible. |
void |
Clear() |
boolean |
Contains(DataGridViewRow dataGridViewRow) |
void |
CopyTo(DataGridViewRow[] array,
int index) |
int |
getCount() |
int |
GetFirstRow(DataGridViewElementStates includeFilter) |
int |
GetFirstRow(DataGridViewElementStates includeFilter,
DataGridViewElementStates excludeFilter) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
GetLastRow(DataGridViewElementStates includeFilter) |
int |
GetNextRow(int indexStart,
DataGridViewElementStates includeFilter) |
int |
GetNextRow(int indexStart,
DataGridViewElementStates includeFilter,
DataGridViewElementStates excludeFilter) |
int |
GetPreviousRow(int indexStart,
DataGridViewElementStates includeFilter) |
int |
GetPreviousRow(int indexStart,
DataGridViewElementStates includeFilter,
DataGridViewElementStates excludeFilter) |
int |
GetRowCount(DataGridViewElementStates includeFilter) |
int |
GetRowsHeight(DataGridViewElementStates includeFilter) |
DataGridViewElementStates |
GetRowState(int rowIndex) |
int |
IndexOf(DataGridViewRow dataGridViewRow) |
void |
Insert(int rowIndex,
DataGridViewRow dataGridViewRow) |
void |
Insert(int rowIndex,
int count) |
void |
Insert(int rowIndex,
NetObject... values) |
void |
InsertCopies(int indexSource,
int indexDestination,
int count) |
void |
InsertCopy(int indexSource,
int indexDestination) |
void |
InsertRange(int rowIndex,
DataGridViewRow... dataGridViewRows) |
void |
Remove(DataGridViewRow dataGridViewRow) |
void |
RemoveAt(int index) |
void |
removeCollectionChanged(CollectionChangeEventHandler handler) |
void |
setJCOInstance(JCObject instance) |
DataGridViewRow |
SharedRow(int rowIndex) |
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DataGridViewRowCollection()
throws java.lang.Throwable
java.lang.Throwablepublic DataGridViewRowCollection(DataGridView dataGridView) throws java.lang.Throwable
java.lang.Throwablepublic DataGridViewRowCollection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic int Add()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
InvalidEnumArgumentException,
InvalidCastException,
IndexOutOfRangeException,
Win32Exception,
RankException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionInvalidCastExceptionIndexOutOfRangeExceptionWin32ExceptionRankExceptionArrayTypeMismatchExceptionpublic int Add(DataGridViewRow dataGridViewRow) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, MissingMethodException, TargetInvocationException, InvalidEnumArgumentException, KeyNotFoundException, Win32Exception, TypeLoadException, InvalidCastException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionInvalidEnumArgumentExceptionKeyNotFoundExceptionWin32ExceptionTypeLoadExceptionInvalidCastExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionpublic int Add(int count)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
InvalidEnumArgumentException,
InvalidCastException,
MulticastNotSupportedException,
IndexOutOfRangeException,
FormatException,
OverflowException,
Win32Exception,
TypeLoadException,
FileLoadException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionInvalidCastExceptionMulticastNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionWin32ExceptionTypeLoadExceptionFileLoadExceptionpublic int Add(NetObject... values) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidEnumArgumentException, InvalidCastException, IndexOutOfRangeException, Win32Exception
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidEnumArgumentExceptionInvalidCastExceptionIndexOutOfRangeExceptionWin32Exceptionpublic void addCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic int AddCopies(int indexSource,
int count)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
KeyNotFoundException,
Win32Exception,
TypeLoadException,
InvalidCastException,
InvalidEnumArgumentException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionKeyNotFoundExceptionWin32ExceptionTypeLoadExceptionInvalidCastExceptionInvalidEnumArgumentExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionpublic int AddCopy(int indexSource)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
InvalidCastException,
RankException,
ArrayTypeMismatchException,
InvalidEnumArgumentException,
IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionInvalidCastExceptionRankExceptionArrayTypeMismatchExceptionInvalidEnumArgumentExceptionIndexOutOfRangeExceptionpublic void AddRange(DataGridViewRow... dataGridViewRows) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidCastException, InvalidEnumArgumentException
public static DataGridViewRowCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataGridViewRowCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataGridViewRowCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
MissingMethodException,
TargetInvocationException,
InvalidCastException,
InvalidEnumArgumentException,
Win32Exception,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionInvalidCastExceptionInvalidEnumArgumentExceptionWin32ExceptionFormatExceptionpublic boolean Contains(DataGridViewRow dataGridViewRow) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public void CopyTo(DataGridViewRow[] array, int index) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
public int getCount()
throws java.lang.Throwable
java.lang.Throwablepublic int GetFirstRow(DataGridViewElementStates includeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public int GetFirstRow(DataGridViewElementStates includeFilter, DataGridViewElementStates excludeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerableString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerableString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerableObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerableString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerableJCType representing the CLR Type of the instantiated Classpublic int GetLastRow(DataGridViewElementStates includeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public int GetNextRow(int indexStart,
DataGridViewElementStates includeFilter)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public int GetNextRow(int indexStart,
DataGridViewElementStates includeFilter,
DataGridViewElementStates excludeFilter)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException
public int GetPreviousRow(int indexStart,
DataGridViewElementStates includeFilter)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public int GetPreviousRow(int indexStart,
DataGridViewElementStates includeFilter,
DataGridViewElementStates excludeFilter)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException
public int GetRowCount(DataGridViewElementStates includeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public int GetRowsHeight(DataGridViewElementStates includeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public DataGridViewElementStates GetRowState(int rowIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public int IndexOf(DataGridViewRow dataGridViewRow) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public void Insert(int rowIndex,
DataGridViewRow dataGridViewRow)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
InvalidCastException,
InvalidEnumArgumentException,
IndexOutOfRangeException,
Win32Exception,
FormatException,
TypeLoadException,
RankException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionInvalidCastExceptionInvalidEnumArgumentExceptionIndexOutOfRangeExceptionWin32ExceptionFormatExceptionTypeLoadExceptionRankExceptionArrayTypeMismatchExceptionpublic void Insert(int rowIndex,
int count)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
InvalidEnumArgumentException,
InvalidCastException,
MulticastNotSupportedException,
IndexOutOfRangeException,
FormatException,
OverflowException,
Win32Exception,
TypeLoadException,
FileLoadException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionInvalidCastExceptionMulticastNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionWin32ExceptionTypeLoadExceptionFileLoadExceptionpublic void Insert(int rowIndex,
NetObject... values)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
InvalidEnumArgumentException,
InvalidCastException,
MulticastNotSupportedException,
IndexOutOfRangeException,
Win32Exception
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidEnumArgumentExceptionInvalidCastExceptionMulticastNotSupportedExceptionIndexOutOfRangeExceptionWin32Exceptionpublic void InsertCopies(int indexSource,
int indexDestination,
int count)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
Win32Exception,
KeyNotFoundException,
FormatException,
InvalidEnumArgumentException,
TypeLoadException,
InvalidCastException,
RankException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionWin32ExceptionKeyNotFoundExceptionFormatExceptionInvalidEnumArgumentExceptionTypeLoadExceptionInvalidCastExceptionRankExceptionArrayTypeMismatchExceptionpublic void InsertCopy(int indexSource,
int indexDestination)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
KeyNotFoundException,
Win32Exception,
TypeLoadException,
InvalidCastException,
InvalidEnumArgumentException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionKeyNotFoundExceptionWin32ExceptionTypeLoadExceptionInvalidCastExceptionInvalidEnumArgumentExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionpublic void InsertRange(int rowIndex,
DataGridViewRow... dataGridViewRows)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
MissingMethodException,
TargetInvocationException,
InvalidEnumArgumentException,
KeyNotFoundException,
Win32Exception,
TypeLoadException,
InvalidCastException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionInvalidEnumArgumentExceptionKeyNotFoundExceptionWin32ExceptionTypeLoadExceptionInvalidCastExceptionpublic void Remove(DataGridViewRow dataGridViewRow) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, MissingMethodException, TargetInvocationException, InvalidCastException, InvalidEnumArgumentException, FormatException, MulticastNotSupportedException, IndexOutOfRangeException, Win32Exception, TypeLoadException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationExceptionInvalidCastExceptionInvalidEnumArgumentExceptionFormatExceptionMulticastNotSupportedExceptionIndexOutOfRangeExceptionWin32ExceptionTypeLoadExceptionpublic void RemoveAt(int index)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
InvalidEnumArgumentException,
OutOfMemoryException,
InvalidCastException,
MulticastNotSupportedException,
ThreadStateException,
KeyNotFoundException,
FormatException,
OverflowException,
Win32Exception,
TypeLoadException,
FileLoadException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionInvalidCastExceptionMulticastNotSupportedExceptionThreadStateExceptionKeyNotFoundExceptionFormatExceptionOverflowExceptionWin32ExceptionTypeLoadExceptionFileLoadExceptionpublic void removeCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectEnumerablepublic DataGridViewRow SharedRow(int rowIndex) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeException