public class PropertyDescriptorCollection extends NetObjectEnumerable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.ComponentModel.PropertyDescriptorCollection
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.PropertyDescriptorCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
PropertyDescriptorCollection() |
PropertyDescriptorCollection(java.lang.Object instance)
Internal constructor.
|
PropertyDescriptorCollection(PropertyDescriptor[] properties)
Initializes a new instance by invoking the .NET constructor.
|
PropertyDescriptorCollection(PropertyDescriptor[] properties,
boolean readOnly)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Add(PropertyDescriptor value)
Invokes the .NET member Add.
|
static PropertyDescriptorCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PropertyDescriptorCollection, a cast assert is made to check if types are compatible. |
void |
Clear()
Invokes the .NET member Clear.
|
boolean |
Contains(PropertyDescriptor value)
Invokes the .NET member Contains.
|
void |
CopyTo(Array array,
int index)
Invokes the .NET member CopyTo.
|
PropertyDescriptor |
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(PropertyDescriptor value)
Invokes the .NET member IndexOf.
|
void |
Insert(int index,
PropertyDescriptor value)
Invokes the .NET member Insert.
|
void |
Remove(PropertyDescriptor 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.
|
PropertyDescriptorCollection |
Sort()
Invokes the .NET member Sort.
|
PropertyDescriptorCollection |
Sort(IComparer comparer)
Invokes the .NET member Sort.
|
PropertyDescriptorCollection |
Sort(JCORefOut dupParam0)
Invokes the .NET member Sort.
|
PropertyDescriptorCollection |
Sort(JCORefOut dupParam0,
IComparer dupParam1)
Invokes the .NET member Sort.
|
PropertyDescriptorCollection |
Sort(java.lang.String[] names)
Invokes the .NET member Sort.
|
PropertyDescriptorCollection |
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 PropertyDescriptorCollection()
throws java.lang.Throwable
java.lang.Throwablepublic PropertyDescriptorCollection(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 PropertyDescriptorCollection(PropertyDescriptor[] properties) throws java.lang.Throwable
properties - the argument of type PropertyDescriptor[]java.lang.Throwable - if the .NET constructor failspublic PropertyDescriptorCollection(PropertyDescriptor[] properties, boolean readOnly) throws java.lang.Throwable
properties - the argument of type PropertyDescriptor[]readOnly - the argument of type booleanjava.lang.Throwable - if the .NET constructor failspublic int Add(PropertyDescriptor value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
value - the argument of type PropertyDescriptorjava.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 PropertyDescriptorCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PropertyDescriptorCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPropertyDescriptorCollection 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(PropertyDescriptor value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
value - the argument of type PropertyDescriptorjava.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 void CopyTo(Array array, int index) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, RankException
array - the argument of type Arrayindex - the argument of type intjava.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 itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itpublic PropertyDescriptor Find(java.lang.String name, boolean ignoreCase) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, ExternalException
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 CLRArgumentOutOfRangeException - 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 itArgumentException - 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 itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - 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(PropertyDescriptor value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
value - the argument of type PropertyDescriptorjava.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,
PropertyDescriptor value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
index - the argument of type intvalue - the argument of type PropertyDescriptorjava.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(PropertyDescriptor value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
value - the argument of type PropertyDescriptorjava.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 PropertyDescriptorCollection 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 PropertyDescriptorCollection 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 PropertyDescriptorCollection 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 PropertyDescriptorCollection 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 PropertyDescriptorCollection 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 PropertyDescriptorCollection 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