public class LocalFileSettingsProvider extends SettingsProvider
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Configuration.LocalFileSettingsProvider
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=9.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.LocalFileSettingsProvider
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
LocalFileSettingsProvider()
Initializes a new instance by invoking the .NET constructor.
|
LocalFileSettingsProvider(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static LocalFileSettingsProvider |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into LocalFileSettingsProvider, 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. |
SettingsPropertyValue |
GetPreviousVersion(SettingsContext context,
SettingsProperty property)
Invokes the .NET member GetPreviousVersion.
|
SettingsPropertyValueCollection |
GetPropertyValues(SettingsContext context,
SettingsPropertyCollection properties)
Invokes the .NET member GetPropertyValues.
|
void |
Initialize(java.lang.String name,
NameValueCollection values)
Invokes the .NET member Initialize.
|
void |
Reset(SettingsContext context)
Invokes the .NET member Reset.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetPropertyValues(SettingsContext context,
SettingsPropertyValueCollection values)
Invokes the .NET member SetPropertyValues.
|
void |
Upgrade(SettingsContext context,
SettingsPropertyCollection properties)
Invokes the .NET member Upgrade.
|
getApplicationName, setApplicationNamegetDescription, getNamepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public LocalFileSettingsProvider()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic LocalFileSettingsProvider(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 static LocalFileSettingsProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into LocalFileSettingsProvider, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedLocalFileSettingsProvider instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class SettingsProviderpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class SettingsProviderpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class SettingsProvidernull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class SettingsProviderpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class SettingsProviderpublic SettingsPropertyValue GetPreviousVersion(SettingsContext context, SettingsProperty property) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, ConfigurationErrorsException, InvalidOperationException, PlatformNotSupportedException, FormatException, OverflowException, CultureNotFoundException, MissingMethodException, TargetInvocationException, ArrayTypeMismatchException, OutOfMemoryException, ConfigurationException, XmlException
context - the argument of type SettingsContextproperty - the argument of type SettingsPropertyjava.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 itArgumentOutOfRangeException - if the .NET member raises itConfigurationErrorsException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itConfigurationException - if the .NET member raises itXmlException - if the .NET member raises itpublic SettingsPropertyValueCollection GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties) throws java.lang.Throwable, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, ArgumentException, ArrayTypeMismatchException, FormatException, MissingMethodException, TargetInvocationException, ConfigurationException, ConfigurationErrorsException, RankException, IndexOutOfRangeException, InvalidCastException, XmlException
GetPropertyValues in class SettingsProvidercontext - the argument of type SettingsContextproperties - the argument of type SettingsPropertyCollectionjava.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 itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itConfigurationException - if the .NET member raises itConfigurationErrorsException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises itXmlException - if the .NET member raises itpublic void Initialize(java.lang.String name,
NameValueCollection values)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
OutOfMemoryException
Initialize in class ProviderBasename - the argument of type java.lang.Stringvalues - the argument of type NameValueCollectionjava.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 itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void Reset(SettingsContext context) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, FormatException, ConfigurationErrorsException, TypeLoadException, MissingMethodException, TargetInvocationException, OverflowException, RankException, XmlException, UnreachableException
context - the argument of type SettingsContextjava.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 itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itConfigurationErrorsException - if the .NET member raises itTypeLoadException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itOverflowException - if the .NET member raises itRankException - if the .NET member raises itXmlException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class SettingsProviderinstance - the new underlying objectpublic void SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection values) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, FormatException, ConfigurationErrorsException, XmlException, FileNotFoundException, FileLoadException, TypeLoadException, MissingMethodException, TargetInvocationException, OverflowException, UnreachableException
SetPropertyValues in class SettingsProvidercontext - the argument of type SettingsContextvalues - the argument of type SettingsPropertyValueCollectionjava.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 itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itConfigurationErrorsException - if the .NET member raises itXmlException - if the .NET member raises itFileNotFoundException - if the .NET member raises itFileLoadException - if the .NET member raises itTypeLoadException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itOverflowException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic void Upgrade(SettingsContext context, SettingsPropertyCollection properties) throws java.lang.Throwable, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, ArgumentException, ObjectDisposedException, ConfigurationErrorsException, FormatException, OverflowException, ArrayTypeMismatchException, ConfigurationException, XmlException, RankException, IndexOutOfRangeException, InvalidCastException
context - the argument of type SettingsContextproperties - the argument of type SettingsPropertyCollectionjava.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 itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itConfigurationErrorsException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itConfigurationException - if the .NET member raises itXmlException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises it