public class SettingsProperty extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Configuration.SettingsProperty
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.SettingsProperty
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SettingsProperty() |
SettingsProperty(java.lang.Object instance)
Internal constructor.
|
SettingsProperty(SettingsProperty propertyToCopy)
Initializes a new instance by invoking the .NET constructor.
|
SettingsProperty(java.lang.String name)
Initializes a new instance by invoking the .NET constructor.
|
SettingsProperty(java.lang.String name,
NetType propertyType,
SettingsProvider provider,
boolean isReadOnly,
NetObject defaultValue,
SettingsSerializeAs serializeAs,
SettingsAttributeDictionary attributes,
boolean throwOnErrorDeserializing,
boolean throwOnErrorSerializing)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static SettingsProperty |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SettingsProperty, a cast assert is made to check if types are compatible. |
SettingsAttributeDictionary |
getAttributes()
Gets the value of the .NET property Attributes.
|
NetObject |
getDefaultValue()
Gets the value of the .NET property DefaultValue.
|
boolean |
getIsReadOnly()
Gets the value of the .NET property IsReadOnly.
|
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. |
java.lang.String |
getName()
Gets the value of the .NET property Name.
|
NetType |
getPropertyType()
Gets the value of the .NET property PropertyType.
|
SettingsProvider |
getProvider()
Gets the value of the .NET property Provider.
|
SettingsSerializeAs |
getSerializeAs()
Gets the value of the .NET property SerializeAs.
|
boolean |
getThrowOnErrorDeserializing()
Gets the value of the .NET property ThrowOnErrorDeserializing.
|
boolean |
getThrowOnErrorSerializing()
Gets the value of the .NET property ThrowOnErrorSerializing.
|
void |
setAttributes(SettingsAttributeDictionary Attributes)
Sets the value of the .NET property Attributes.
|
void |
setDefaultValue(NetObject DefaultValue)
Sets the value of the .NET property DefaultValue.
|
void |
setIsReadOnly(boolean IsReadOnly)
Sets the value of the .NET property IsReadOnly.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setName(java.lang.String Name)
Sets the value of the .NET property Name.
|
void |
setPropertyType(NetType PropertyType)
Sets the value of the .NET property PropertyType.
|
void |
setProvider(SettingsProvider Provider)
Sets the value of the .NET property Provider.
|
void |
setSerializeAs(SettingsSerializeAs SerializeAs)
Sets the value of the .NET property SerializeAs.
|
void |
setThrowOnErrorDeserializing(boolean ThrowOnErrorDeserializing)
Sets the value of the .NET property ThrowOnErrorDeserializing.
|
void |
setThrowOnErrorSerializing(boolean ThrowOnErrorSerializing)
Sets the value of the .NET property ThrowOnErrorSerializing.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SettingsProperty()
throws java.lang.Throwable
java.lang.Throwablepublic SettingsProperty(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 SettingsProperty(SettingsProperty propertyToCopy) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException
propertyToCopy - the argument of type SettingsPropertyjava.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic SettingsProperty(java.lang.String name)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic SettingsProperty(java.lang.String name,
NetType propertyType,
SettingsProvider provider,
boolean isReadOnly,
NetObject defaultValue,
SettingsSerializeAs serializeAs,
SettingsAttributeDictionary attributes,
boolean throwOnErrorDeserializing,
boolean throwOnErrorSerializing)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
name - the argument of type java.lang.StringpropertyType - the argument of type NetTypeprovider - the argument of type SettingsProviderisReadOnly - the argument of type booleandefaultValue - the argument of type NetObjectserializeAs - the argument of type SettingsSerializeAsattributes - the argument of type SettingsAttributeDictionarythrowOnErrorDeserializing - the argument of type booleanthrowOnErrorSerializing - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - 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 SettingsProperty cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SettingsProperty, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSettingsProperty instancejava.lang.Throwable - in case of error during cast operationpublic SettingsAttributeDictionary getAttributes() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject getDefaultValue() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsReadOnly()
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 NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic java.lang.String getName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetType getPropertyType() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic SettingsProvider getProvider() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic SettingsSerializeAs getSerializeAs() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getThrowOnErrorDeserializing()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getThrowOnErrorSerializing()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAttributes(SettingsAttributeDictionary Attributes) throws java.lang.Throwable
Attributes - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDefaultValue(NetObject DefaultValue) throws java.lang.Throwable
DefaultValue - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setIsReadOnly(boolean IsReadOnly)
throws java.lang.Throwable
IsReadOnly - 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 NetObjectinstance - the new underlying objectpublic void setName(java.lang.String Name)
throws java.lang.Throwable
Name - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPropertyType(NetType PropertyType) throws java.lang.Throwable
PropertyType - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setProvider(SettingsProvider Provider) throws java.lang.Throwable
Provider - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setSerializeAs(SettingsSerializeAs SerializeAs) throws java.lang.Throwable
SerializeAs - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setThrowOnErrorDeserializing(boolean ThrowOnErrorDeserializing)
throws java.lang.Throwable
ThrowOnErrorDeserializing - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setThrowOnErrorSerializing(boolean ThrowOnErrorSerializing)
throws java.lang.Throwable
ThrowOnErrorSerializing - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR