public class TypeElementCollection extends ConfigurationElementCollection
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Serialization.Configuration.TypeElementCollection
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.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Runtime.Serialization
|
static java.lang.String |
className
Qualified class name: System.Runtime.Serialization.Configuration.TypeElementCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TypeElementCollection() |
TypeElementCollection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(TypeElement element) |
static TypeElementCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TypeElementCollection, a cast assert is made to check if types are compatible. |
void |
Clear() |
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 |
IndexOf(TypeElement element) |
void |
Remove(TypeElement element) |
void |
RemoveAt(int index) |
void |
setJCOInstance(JCObject instance) |
CopyTo, getCollectionType, getCount, getEmitClear, getIsSynchronized, getSyncRoot, IsReadOnly, setEmitCleargetCurrentConfiguration, getElementInformation, getLockAllAttributesExcept, getLockAllElementsExcept, getLockAttributes, getLockElements, getLockItem, setLockItempublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TypeElementCollection()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
KeyNotFoundException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionKeyNotFoundExceptionpublic TypeElementCollection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Add(TypeElement element) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, ConfigurationErrorsException, NotSupportedException, NullReferenceException, ConfigurationException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionConfigurationErrorsExceptionNotSupportedExceptionNullReferenceExceptionConfigurationExceptionpublic static TypeElementCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TypeElementCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTypeElementCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ConfigurationErrorsException,
NullReferenceException,
IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionNullReferenceExceptionIndexOutOfRangeExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ConfigurationElementCollectionString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ConfigurationElementCollectionString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ConfigurationElementCollectionObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ConfigurationElementCollectionString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ConfigurationElementCollectionJCType representing the CLR Type of the instantiated Classpublic int IndexOf(TypeElement element) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, ConfigurationErrorsException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionConfigurationErrorsExceptionpublic void Remove(TypeElement element) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, ConfigurationErrorsException, NullReferenceException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionConfigurationErrorsExceptionNullReferenceExceptionCultureNotFoundExceptionpublic void RemoveAt(int index)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ConfigurationErrorsException,
IndexOutOfRangeException,
NullReferenceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionIndexOutOfRangeExceptionNullReferenceExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ConfigurationElementCollection