Package system.componentmodel
Class TypeDescriptor
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.componentmodel.TypeDescriptor
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class TypeDescriptor extends NetObject
The base .NET class managing System.ComponentModel.TypeDescriptor, System.ComponentModel.TypeConverter, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.TypeDescriptor
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.ComponentModel.TypeConverter, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.ComponentModel.TypeConverterstatic java.lang.String
className
Qualified class name: System.ComponentModel.TypeDescriptorstatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description TypeDescriptor()
TypeDescriptor(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypeDescriptionProvider
AddAttributes(NetObject instance, Attribute... attributes)
static TypeDescriptionProvider
AddAttributes(NetType type, Attribute... attributes)
static void
AddEditorTable(NetType editorBaseType, Hashtable table)
static void
AddProvider(TypeDescriptionProvider provider, NetObject instance)
static void
AddProvider(TypeDescriptionProvider provider, NetType type)
static void
AddProviderTransparent(TypeDescriptionProvider provider, NetObject instance)
static void
AddProviderTransparent(TypeDescriptionProvider provider, NetType type)
static TypeDescriptor
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoTypeDescriptor
, a cast assert is made to check if types are compatible.static void
CreateAssociation(NetObject primary, NetObject secondary)
static IDesigner
CreateDesigner(IComponent component, NetType designerBaseType)
static EventDescriptor
CreateEvent(NetType componentType, java.lang.String name, NetType type, Attribute... attributes)
static EventDescriptor
CreateEvent(NetType componentType, EventDescriptor oldEventDescriptor, Attribute... attributes)
static NetObject
CreateInstance(IServiceProvider provider, NetType objectType, NetType[] argTypes, NetObject[] args)
static PropertyDescriptor
CreateProperty(NetType componentType, java.lang.String name, NetType type, Attribute... attributes)
static PropertyDescriptor
CreateProperty(NetType componentType, PropertyDescriptor oldPropertyDescriptor, Attribute... attributes)
static NetObject
GetAssociation(NetType type, NetObject primary)
static AttributeCollection
GetAttributes(NetObject component)
static AttributeCollection
GetAttributes(NetObject component, boolean noCustomTypeDesc)
static AttributeCollection
GetAttributes(NetType componentType)
static java.lang.String
GetClassName(NetObject component)
static java.lang.String
GetClassName(NetObject component, boolean noCustomTypeDesc)
static java.lang.String
GetClassName(NetType componentType)
static IComNativeDescriptorHandler
getComNativeDescriptorHandler()
static NetType
getComObjectType()
static java.lang.String
GetComponentName(NetObject component)
static java.lang.String
GetComponentName(NetObject component, boolean noCustomTypeDesc)
static TypeConverter
GetConverter(NetObject component)
static TypeConverter
GetConverter(NetObject component, boolean noCustomTypeDesc)
static TypeConverter
GetConverter(NetType type)
static EventDescriptor
GetDefaultEvent(NetObject component)
static EventDescriptor
GetDefaultEvent(NetObject component, boolean noCustomTypeDesc)
static EventDescriptor
GetDefaultEvent(NetType componentType)
static PropertyDescriptor
GetDefaultProperty(NetObject component)
static PropertyDescriptor
GetDefaultProperty(NetObject component, boolean noCustomTypeDesc)
static PropertyDescriptor
GetDefaultProperty(NetType componentType)
static NetObject
GetEditor(NetObject component, NetType editorBaseType)
static NetObject
GetEditor(NetObject component, NetType editorBaseType, boolean noCustomTypeDesc)
static NetObject
GetEditor(NetType type, NetType editorBaseType)
static EventDescriptorCollection
GetEvents(NetObject component)
static EventDescriptorCollection
GetEvents(NetObject component, boolean noCustomTypeDesc)
static EventDescriptorCollection
GetEvents(NetObject component, Attribute[] attributes)
static EventDescriptorCollection
GetEvents(NetObject component, Attribute[] attributes, boolean noCustomTypeDesc)
static EventDescriptorCollection
GetEvents(NetType componentType)
static EventDescriptorCollection
GetEvents(NetType componentType, Attribute[] attributes)
static java.lang.String
GetFullComponentName(NetObject component)
static NetType
getInterfaceType()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class Typestatic PropertyDescriptorCollection
GetProperties(NetObject component)
static PropertyDescriptorCollection
GetProperties(NetObject component, boolean noCustomTypeDesc)
static PropertyDescriptorCollection
GetProperties(NetObject component, Attribute[] attributes)
static PropertyDescriptorCollection
GetProperties(NetObject component, Attribute[] attributes, boolean noCustomTypeDesc)
static PropertyDescriptorCollection
GetProperties(NetType componentType)
static PropertyDescriptorCollection
GetProperties(NetType componentType, Attribute[] attributes)
static TypeDescriptionProvider
GetProvider(NetObject instance)
static TypeDescriptionProvider
GetProvider(NetType type)
static NetType
GetReflectionType(NetObject instance)
static NetType
GetReflectionType(NetType type)
static void
Refresh(NetObject component)
static void
Refresh(NetType type)
static void
Refresh(Assembly assembly)
static void
Refresh(Module module)
static void
RemoveAssociation(NetObject primary, NetObject secondary)
static void
RemoveAssociations(NetObject primary)
static void
RemoveProvider(TypeDescriptionProvider provider, NetObject instance)
static void
RemoveProvider(TypeDescriptionProvider provider, NetType type)
static void
RemoveProviderTransparent(TypeDescriptionProvider provider, NetObject instance)
static void
RemoveProviderTransparent(TypeDescriptionProvider provider, NetType type)
static void
setComNativeDescriptorHandler(IComNativeDescriptorHandler ComNativeDescriptorHandler)
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
static void
SortDescriptorArray(IList infos)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.ComponentModel.TypeConverter, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.ComponentModel.TypeConverter- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ComponentModel.TypeDescriptor- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static TypeDescriptor cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoTypeDescriptor
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
TypeDescriptor
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetAttributes
public static AttributeCollection GetAttributes(NetObject component, boolean noCustomTypeDesc) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, OutOfMemoryException
-
GetAttributes
public static AttributeCollection GetAttributes(NetObject component) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, OutOfMemoryException
-
GetAttributes
public static AttributeCollection GetAttributes(NetType componentType) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, TypeLoadException, MissingMethodException, TargetInvocationException, FormatException, IndexOutOfRangeException
-
CreateDesigner
public static IDesigner CreateDesigner(IComponent component, NetType designerBaseType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, NotSupportedException, OutOfMemoryException
-
CreateEvent
public static EventDescriptor CreateEvent(NetType componentType, EventDescriptor oldEventDescriptor, Attribute... attributes) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
InvalidOperationException
PlatformNotSupportedException
ArgumentException
-
CreateEvent
public static EventDescriptor CreateEvent(NetType componentType, java.lang.String name, NetType type, Attribute... attributes) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException
-
GetDefaultEvent
public static EventDescriptor GetDefaultEvent(NetObject component, boolean noCustomTypeDesc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
-
GetDefaultEvent
public static EventDescriptor GetDefaultEvent(NetObject component) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
-
GetDefaultEvent
public static EventDescriptor GetDefaultEvent(NetType componentType) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, TypeLoadException, MissingMethodException, TargetInvocationException, OutOfMemoryException, CultureNotFoundException
-
GetEvents
public static EventDescriptorCollection GetEvents(NetObject component, boolean noCustomTypeDesc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException, ObjectDisposedException, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOperationException
IndexOutOfRangeException
FormatException
RankException
ArrayTypeMismatchException
ObjectDisposedException
NotSupportedException
OutOfMemoryException
-
GetEvents
public static EventDescriptorCollection GetEvents(NetObject component, Attribute[] attributes, boolean noCustomTypeDesc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, ArrayTypeMismatchException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
IndexOutOfRangeException
FormatException
CultureNotFoundException
ObjectDisposedException
NotSupportedException
ArrayTypeMismatchException
OutOfMemoryException
-
GetEvents
public static EventDescriptorCollection GetEvents(NetObject component, Attribute[] attributes) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException, ObjectDisposedException, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOperationException
IndexOutOfRangeException
FormatException
RankException
ArrayTypeMismatchException
ObjectDisposedException
NotSupportedException
OutOfMemoryException
-
GetEvents
public static EventDescriptorCollection GetEvents(NetObject component) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException, ObjectDisposedException, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOperationException
IndexOutOfRangeException
FormatException
RankException
ArrayTypeMismatchException
ObjectDisposedException
NotSupportedException
OutOfMemoryException
-
GetEvents
public static EventDescriptorCollection GetEvents(NetType componentType, Attribute[] attributes) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, TypeLoadException, MissingMethodException, TargetInvocationException
-
GetEvents
public static EventDescriptorCollection GetEvents(NetType componentType) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, TypeLoadException, MissingMethodException, TargetInvocationException
-
CreateProperty
public static PropertyDescriptor CreateProperty(NetType componentType, PropertyDescriptor oldPropertyDescriptor, Attribute... attributes) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
CreateProperty
public static PropertyDescriptor CreateProperty(NetType componentType, java.lang.String name, NetType type, Attribute... attributes) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException
-
GetDefaultProperty
public static PropertyDescriptor GetDefaultProperty(NetObject component, boolean noCustomTypeDesc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
-
GetDefaultProperty
public static PropertyDescriptor GetDefaultProperty(NetObject component) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
-
GetDefaultProperty
public static PropertyDescriptor GetDefaultProperty(NetType componentType) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, TypeLoadException, MissingMethodException, TargetInvocationException, OutOfMemoryException, CultureNotFoundException
-
GetProperties
public static PropertyDescriptorCollection GetProperties(NetObject component, boolean noCustomTypeDesc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException, ObjectDisposedException, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOperationException
IndexOutOfRangeException
FormatException
RankException
ArrayTypeMismatchException
ObjectDisposedException
NotSupportedException
OutOfMemoryException
-
GetProperties
public static PropertyDescriptorCollection GetProperties(NetObject component, Attribute[] attributes, boolean noCustomTypeDesc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException, ObjectDisposedException, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOperationException
IndexOutOfRangeException
FormatException
RankException
ArrayTypeMismatchException
ObjectDisposedException
NotSupportedException
OutOfMemoryException
-
GetProperties
public static PropertyDescriptorCollection GetProperties(NetObject component, Attribute[] attributes) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, OutOfMemoryException
-
GetProperties
public static PropertyDescriptorCollection GetProperties(NetObject component) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, OutOfMemoryException
-
GetProperties
public static PropertyDescriptorCollection GetProperties(NetType componentType, Attribute[] attributes) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, TypeLoadException, MissingMethodException, TargetInvocationException
-
GetProperties
public static PropertyDescriptorCollection GetProperties(NetType componentType) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, TypeLoadException, MissingMethodException, TargetInvocationException
-
GetConverter
public static TypeConverter GetConverter(NetObject component, boolean noCustomTypeDesc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
-
GetConverter
public static TypeConverter GetConverter(NetObject component) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
-
GetConverter
public static TypeConverter GetConverter(NetType type) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, TypeLoadException, MissingMethodException, TargetInvocationException, OutOfMemoryException, KeyNotFoundException
-
AddAttributes
public static TypeDescriptionProvider AddAttributes(NetObject instance, Attribute... attributes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, TypeLoadException
-
AddAttributes
public static TypeDescriptionProvider AddAttributes(NetType type, Attribute... attributes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, TypeLoadException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
TypeLoadException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
GetProvider
public static TypeDescriptionProvider GetProvider(NetObject instance) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, TypeLoadException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
TypeLoadException
MissingMethodException
TargetInvocationException
-
GetProvider
public static TypeDescriptionProvider GetProvider(NetType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, TypeLoadException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
TypeLoadException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
CreateInstance
public static NetObject CreateInstance(IServiceProvider provider, NetType objectType, NetType[] argTypes, NetObject[] args) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IndexOutOfRangeException, CultureNotFoundException, TypeLoadException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
IndexOutOfRangeException
CultureNotFoundException
TypeLoadException
-
GetAssociation
public static NetObject GetAssociation(NetType type, NetObject primary) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
-
GetEditor
public static NetObject GetEditor(NetObject component, NetType editorBaseType, boolean noCustomTypeDesc) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
GetEditor
public static NetObject GetEditor(NetObject component, NetType editorBaseType) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
-
GetEditor
public static NetObject GetEditor(NetType type, NetType editorBaseType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, TypeLoadException, MissingMethodException, TargetInvocationException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
TypeLoadException
MissingMethodException
TargetInvocationException
OutOfMemoryException
-
GetClassName
public static java.lang.String GetClassName(NetObject component, boolean noCustomTypeDesc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
-
GetClassName
public static java.lang.String GetClassName(NetObject component) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
-
GetClassName
public static java.lang.String GetClassName(NetType componentType) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, TypeLoadException, MissingMethodException, TargetInvocationException
-
GetComponentName
public static java.lang.String GetComponentName(NetObject component, boolean noCustomTypeDesc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
-
GetComponentName
public static java.lang.String GetComponentName(NetObject component) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
-
GetFullComponentName
public static java.lang.String GetFullComponentName(NetObject component) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, TypeLoadException
-
GetReflectionType
public static NetType GetReflectionType(NetObject instance) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, TypeLoadException
-
GetReflectionType
public static NetType GetReflectionType(NetType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, TypeLoadException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
TypeLoadException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
AddEditorTable
public static void AddEditorTable(NetType editorBaseType, Hashtable table) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException
-
AddProvider
public static void AddProvider(TypeDescriptionProvider provider, NetObject instance) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, TypeLoadException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
TypeLoadException
MissingMethodException
TargetInvocationException
-
AddProvider
public static void AddProvider(TypeDescriptionProvider provider, NetType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, TypeLoadException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
TypeLoadException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
AddProviderTransparent
public static void AddProviderTransparent(TypeDescriptionProvider provider, NetObject instance) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, TypeLoadException
-
AddProviderTransparent
public static void AddProviderTransparent(TypeDescriptionProvider provider, NetType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, TypeLoadException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, EventSourceException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
TypeLoadException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
EventSourceException
-
CreateAssociation
public static void CreateAssociation(NetObject primary, NetObject secondary) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
-
Refresh
public static void Refresh(NetObject component) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
-
Refresh
public static void Refresh(Assembly assembly) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException
-
Refresh
public static void Refresh(Module module) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
Refresh
public static void Refresh(NetType type) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
RemoveAssociation
public static void RemoveAssociation(NetObject primary, NetObject secondary) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
-
RemoveAssociations
public static void RemoveAssociations(NetObject primary) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
-
RemoveProvider
public static void RemoveProvider(TypeDescriptionProvider provider, NetObject instance) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, IndexOutOfRangeException
-
RemoveProvider
public static void RemoveProvider(TypeDescriptionProvider provider, NetType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, IndexOutOfRangeException
-
RemoveProviderTransparent
public static void RemoveProviderTransparent(TypeDescriptionProvider provider, NetObject instance) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, IndexOutOfRangeException
-
RemoveProviderTransparent
public static void RemoveProviderTransparent(TypeDescriptionProvider provider, NetType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, IndexOutOfRangeException
-
SortDescriptorArray
public static void SortDescriptorArray(IList infos) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getComNativeDescriptorHandler
public static IComNativeDescriptorHandler getComNativeDescriptorHandler() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, TypeLoadException, InvalidOperationException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
TypeLoadException
InvalidOperationException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
ArgumentOutOfRangeException
-
setComNativeDescriptorHandler
public static void setComNativeDescriptorHandler(IComNativeDescriptorHandler ComNativeDescriptorHandler) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, TypeLoadException, InvalidOperationException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
TypeLoadException
InvalidOperationException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
ArgumentOutOfRangeException
-
getComObjectType
public static NetType getComObjectType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getInterfaceType
public static NetType getInterfaceType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-