public class ApplicationSettingsBase extends SettingsBase
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Configuration.ApplicationSettingsBase
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.Configuration.ConfigurationManager, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Configuration.ConfigurationManager
|
static java.lang.String |
className
Qualified class name: System.Configuration.ApplicationSettingsBase
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ApplicationSettingsBase() |
ApplicationSettingsBase(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChanged(PropertyChangedEventHandler handler)
Invokes the .NET member addPropertyChanged.
|
void |
addSettingChanging(SettingChangingEventHandler handler)
Invokes the .NET member addSettingChanging.
|
void |
addSettingsLoaded(SettingsLoadedEventHandler handler)
Invokes the .NET member addSettingsLoaded.
|
void |
addSettingsSaving(SettingsSavingEventHandler handler)
Invokes the .NET member addSettingsSaving.
|
static ApplicationSettingsBase |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ApplicationSettingsBase, a cast assert is made to check if types are compatible. |
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. |
NetObject |
GetPreviousVersion(java.lang.String propertyName)
Invokes the .NET member GetPreviousVersion.
|
java.lang.String |
getSettingsKey()
Gets the value of the .NET property SettingsKey.
|
void |
Reload()
Invokes the .NET member Reload.
|
void |
removePropertyChanged(PropertyChangedEventHandler handler)
Invokes the .NET member removePropertyChanged.
|
void |
removeSettingChanging(SettingChangingEventHandler handler)
Invokes the .NET member removeSettingChanging.
|
void |
removeSettingsLoaded(SettingsLoadedEventHandler handler)
Invokes the .NET member removeSettingsLoaded.
|
void |
removeSettingsSaving(SettingsSavingEventHandler handler)
Invokes the .NET member removeSettingsSaving.
|
void |
Reset()
Invokes the .NET member Reset.
|
void |
Save()
Invokes the .NET member Save.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setSettingsKey(java.lang.String SettingsKey)
Sets the value of the .NET property SettingsKey.
|
void |
Upgrade()
Invokes the .NET member Upgrade.
|
getContext, getIsSynchronized, getProperties, getPropertyValues, getProviders, Initialize, Synchronizedpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ApplicationSettingsBase()
throws java.lang.Throwable
java.lang.Throwablepublic ApplicationSettingsBase(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 void addPropertyChanged(PropertyChangedEventHandler handler) throws java.lang.Throwable
handler - the argument of type PropertyChangedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addSettingChanging(SettingChangingEventHandler handler) throws java.lang.Throwable
handler - the argument of type SettingChangingEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addSettingsLoaded(SettingsLoadedEventHandler handler) throws java.lang.Throwable
handler - the argument of type SettingsLoadedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addSettingsSaving(SettingsSavingEventHandler handler) throws java.lang.Throwable
handler - the argument of type SettingsSavingEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static ApplicationSettingsBase cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ApplicationSettingsBase, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedApplicationSettingsBase instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class SettingsBasepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class SettingsBasepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class SettingsBasenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class SettingsBasepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class SettingsBasepublic NetObject GetPreviousVersion(java.lang.String propertyName) throws java.lang.Throwable, SettingsPropertyNotFoundException, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ThreadStateException, InvalidOperationException, FileNotFoundException, FileLoadException, ArrayTypeMismatchException, UnreachableException, FormatException, XmlException, NotImplementedException, MissingMethodException
propertyName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRSettingsPropertyNotFoundException - if the .NET member raises itNotSupportedException - 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 itThreadStateException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFileNotFoundException - if the .NET member raises itFileLoadException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itUnreachableException - if the .NET member raises itFormatException - if the .NET member raises itXmlException - if the .NET member raises itNotImplementedException - if the .NET member raises itMissingMethodException - if the .NET member raises itpublic java.lang.String getSettingsKey()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Reload()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException
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 itIndexOutOfRangeException - if the .NET member raises itpublic void removePropertyChanged(PropertyChangedEventHandler handler) throws java.lang.Throwable
handler - the argument of type PropertyChangedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeSettingChanging(SettingChangingEventHandler handler) throws java.lang.Throwable
handler - the argument of type SettingChangingEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeSettingsLoaded(SettingsLoadedEventHandler handler) throws java.lang.Throwable
handler - the argument of type SettingsLoadedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeSettingsSaving(SettingsSavingEventHandler handler) throws java.lang.Throwable
handler - the argument of type SettingsSavingEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Reset()
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void Save()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
LockRecursionException,
OutOfMemoryException,
AbandonedMutexException,
CultureNotFoundException,
IndexOutOfRangeException
Save in class SettingsBasejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itLockRecursionException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class SettingsBaseinstance - the new underlying objectpublic void setSettingsKey(java.lang.String SettingsKey)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
InvalidOperationException
SettingsKey - the new value of the propertyjava.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 itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void Upgrade()
throws java.lang.Throwable,
CultureNotFoundException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises it