public class DataTableCollection extends InternalDataCollectionBase
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Data.DataTableCollection
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.Data.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data.Common
|
static java.lang.String |
className
Qualified class name: System.Data.DataTableCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
DataTableCollection() |
DataTableCollection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DataTable |
Add()
Invokes the .NET member Add.
|
void |
Add(DataTable table)
Invokes the .NET member Add.
|
DataTable |
Add(java.lang.String name)
Invokes the .NET member Add.
|
DataTable |
Add(java.lang.String name,
java.lang.String tableNamespace)
Invokes the .NET member Add.
|
void |
addCollectionChanged(CollectionChangeEventHandler handler)
Invokes the .NET member addCollectionChanged.
|
void |
addCollectionChanging(CollectionChangeEventHandler handler)
Invokes the .NET member addCollectionChanging.
|
void |
AddRange(DataTable[] tables)
Invokes the .NET member AddRange.
|
boolean |
CanRemove(DataTable table)
Invokes the .NET member CanRemove.
|
static DataTableCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataTableCollection, a cast assert is made to check if types are compatible. |
void |
Clear()
Invokes the .NET member Clear.
|
boolean |
Contains(java.lang.String name)
Invokes the .NET member Contains.
|
boolean |
Contains(java.lang.String name,
java.lang.String tableNamespace)
Invokes the .NET member Contains.
|
void |
CopyTo(DataTable[] array,
int index)
Invokes the .NET member CopyTo.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
IndexOf(DataTable table)
Invokes the .NET member IndexOf.
|
int |
IndexOf(java.lang.String tableName)
Invokes the .NET member IndexOf.
|
int |
IndexOf(java.lang.String tableName,
java.lang.String tableNamespace)
Invokes the .NET member IndexOf.
|
void |
Remove(DataTable table)
Invokes the .NET member Remove.
|
void |
Remove(java.lang.String name)
Invokes the .NET member Remove.
|
void |
Remove(java.lang.String name,
java.lang.String tableNamespace)
Invokes the .NET member Remove.
|
void |
RemoveAt(int index)
Invokes the .NET member RemoveAt.
|
void |
removeCollectionChanged(CollectionChangeEventHandler handler)
Invokes the .NET member removeCollectionChanged.
|
void |
removeCollectionChanging(CollectionChangeEventHandler handler)
Invokes the .NET member removeCollectionChanging.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
CopyTo, getCount, getIsReadOnly, getIsSynchronized, getSyncRootGetEnumerator, 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 DataTableCollection()
throws java.lang.Throwable
java.lang.Throwablepublic DataTableCollection(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic DataTable Add() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, EventSourceException, KeyNotFoundException, SynchronizationLockException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itpublic void Add(DataTable table) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, FormatException, EventSourceException, CultureNotFoundException, KeyNotFoundException, SynchronizationLockException
table - the argument of type DataTablejava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itpublic DataTable Add(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, EventSourceException, CultureNotFoundException, RankException, ArrayTypeMismatchException, KeyNotFoundException, SynchronizationLockException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itpublic DataTable Add(java.lang.String name, java.lang.String tableNamespace) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, EventSourceException, CultureNotFoundException, NullReferenceException, NotSupportedException, OutOfMemoryException, KeyNotFoundException, SynchronizationLockException
name - the argument of type java.lang.StringtableNamespace - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itpublic void addCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
handler - the argument of type CollectionChangeEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addCollectionChanging(CollectionChangeEventHandler handler) throws java.lang.Throwable
handler - the argument of type CollectionChangeEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void AddRange(DataTable[] tables) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, EventSourceException, ArgumentNullException, KeyNotFoundException, SynchronizationLockException
tables - the argument of type DataTable[]java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itpublic boolean CanRemove(DataTable table) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, EventSourceException, CultureNotFoundException, ObjectDisposedException
table - the argument of type DataTablejava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static DataTableCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataTableCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataTableCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
EventSourceException,
ArgumentNullException,
RankException,
IndexOutOfRangeException,
KeyNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic boolean Contains(java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
ExternalException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itpublic boolean Contains(java.lang.String name,
java.lang.String tableNamespace)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
OutOfMemoryException,
ExternalException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
name - the argument of type java.lang.StringtableNamespace - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void CopyTo(DataTable[] array, int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
array - the argument of type DataTable[]index - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class InternalDataCollectionBasepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class InternalDataCollectionBasepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class InternalDataCollectionBasenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class InternalDataCollectionBasepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class InternalDataCollectionBasepublic int IndexOf(DataTable table) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
table - the argument of type DataTablejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic int IndexOf(java.lang.String tableName)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
ExternalException
tableName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itpublic int IndexOf(java.lang.String tableName,
java.lang.String tableNamespace)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException
tableName - the argument of type java.lang.StringtableNamespace - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void Remove(DataTable table) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, FormatException, EventSourceException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
table - the argument of type DataTablejava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic void Remove(java.lang.String name)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
FormatException,
EventSourceException,
CultureNotFoundException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic void Remove(java.lang.String name,
java.lang.String tableNamespace)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
RankException
name - the argument of type java.lang.StringtableNamespace - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itpublic void RemoveAt(int index)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
FormatException,
EventSourceException,
CultureNotFoundException,
ArrayTypeMismatchException,
RankException,
IndexOutOfRangeException,
InvalidCastException
index - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic void removeCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
handler - the argument of type CollectionChangeEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeCollectionChanging(CollectionChangeEventHandler handler) throws java.lang.Throwable
handler - the argument of type CollectionChangeEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class InternalDataCollectionBaseinstance - the new underlying object