public class EventDescriptorCollection extends NetObjectEnumerable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.ComponentModel.EventDescriptorCollection
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.ComponentModel.TypeConverter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.ComponentModel.TypeConverter
|
static java.lang.String |
className
Qualified class name: System.ComponentModel.EventDescriptorCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
EventDescriptorCollection() |
EventDescriptorCollection(EventDescriptor[] events)
Initializes a new instance by invoking the .NET constructor.
|
EventDescriptorCollection(EventDescriptor[] events,
boolean readOnly)
Initializes a new instance by invoking the .NET constructor.
|
EventDescriptorCollection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Add(EventDescriptor value)
Invokes the .NET member Add.
|
static EventDescriptorCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into EventDescriptorCollection, a cast assert is made to check if types are compatible. |
void |
Clear()
Invokes the .NET member Clear.
|
boolean |
Contains(EventDescriptor value)
Invokes the .NET member Contains.
|
EventDescriptor |
Find(java.lang.String name,
boolean ignoreCase)
Invokes the .NET member Find.
|
int |
getCount()
Gets the value of the .NET property Count.
|
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(EventDescriptor value)
Invokes the .NET member IndexOf.
|
void |
Insert(int index,
EventDescriptor value)
Invokes the .NET member Insert.
|
void |
Remove(EventDescriptor value)
Invokes the .NET member Remove.
|
void |
RemoveAt(int index)
Invokes the .NET member RemoveAt.
|
void |
setCount(int Count)
Sets the value of the .NET property Count.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
EventDescriptorCollection |
Sort()
Invokes the .NET member Sort.
|
EventDescriptorCollection |
Sort(IComparer comparer)
Invokes the .NET member Sort.
|
EventDescriptorCollection |
Sort(JCORefOut dupParam0)
Invokes the .NET member Sort.
|
EventDescriptorCollection |
Sort(JCORefOut dupParam0,
IComparer dupParam1)
Invokes the .NET member Sort.
|
EventDescriptorCollection |
Sort(java.lang.String[] names)
Invokes the .NET member Sort.
|
EventDescriptorCollection |
Sort(java.lang.String[] names,
IComparer comparer)
Invokes the .NET member Sort.
|
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 EventDescriptorCollection()
throws java.lang.Throwable
java.lang.Throwablepublic EventDescriptorCollection(EventDescriptor[] events) throws java.lang.Throwable
events - the argument of type EventDescriptor[]java.lang.Throwable - if the .NET constructor failspublic EventDescriptorCollection(EventDescriptor[] events, boolean readOnly) throws java.lang.Throwable
events - the argument of type EventDescriptor[]readOnly - the argument of type booleanjava.lang.Throwable - if the .NET constructor failspublic EventDescriptorCollection(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 int Add(EventDescriptor value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
value - the argument of type EventDescriptorjava.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 static EventDescriptorCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into EventDescriptorCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEventDescriptorCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
java.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 boolean Contains(EventDescriptor value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
value - the argument of type EventDescriptorjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic EventDescriptor Find(java.lang.String name, boolean ignoreCase) throws java.lang.Throwable, NotSupportedException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
name - the argument of type java.lang.StringignoreCase - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - 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 int getCount()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerablepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerablepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerablenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerablepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerablepublic int IndexOf(EventDescriptor value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
value - the argument of type EventDescriptorjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void Insert(int index,
EventDescriptor value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
index - the argument of type intvalue - the argument of type EventDescriptorjava.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 void Remove(EventDescriptor value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
value - the argument of type EventDescriptorjava.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 void RemoveAt(int index)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
index - the argument of type intjava.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 void setCount(int Count)
throws java.lang.Throwable
Count - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectEnumerableinstance - the new underlying objectpublic EventDescriptorCollection Sort() throws java.lang.Throwable, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itpublic EventDescriptorCollection Sort(IComparer comparer) throws java.lang.Throwable, PlatformNotSupportedException
comparer - the argument of type IComparerjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itpublic EventDescriptorCollection Sort(JCORefOut dupParam0) throws java.lang.Throwable, PlatformNotSupportedException
dupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itpublic EventDescriptorCollection Sort(JCORefOut dupParam0, IComparer dupParam1) throws java.lang.Throwable, PlatformNotSupportedException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type IComparerjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itpublic EventDescriptorCollection Sort(java.lang.String[] names) throws java.lang.Throwable, PlatformNotSupportedException
names - the argument of type java.lang.String[]java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itpublic EventDescriptorCollection Sort(java.lang.String[] names, IComparer comparer) throws java.lang.Throwable, PlatformNotSupportedException
names - the argument of type java.lang.String[]comparer - the argument of type IComparerjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises it