public class PropertyInfo extends MemberInfo
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Reflection.PropertyInfo
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.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Reflection.PropertyInfo
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PropertyInfo() |
PropertyInfo(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PropertyInfo |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PropertyInfo, a cast assert is made to check if types are compatible. |
MethodInfo[] |
GetAccessors()
Invokes the .NET member GetAccessors.
|
MethodInfo[] |
GetAccessors(boolean nonPublic)
Invokes the .NET member GetAccessors.
|
PropertyAttributes |
getAttributes()
Gets the value of the .NET property Attributes.
|
boolean |
getCanRead()
Gets the value of the .NET property CanRead.
|
boolean |
getCanWrite()
Gets the value of the .NET property CanWrite.
|
NetObject |
GetConstantValue()
Invokes the .NET member GetConstantValue.
|
MethodInfo |
getGetMethod()
Gets the value of the .NET property GetMethod.
|
MethodInfo |
GetGetMethod()
Invokes the .NET member GetGetMethod.
|
MethodInfo |
GetGetMethod(boolean nonPublic)
Invokes the .NET member GetGetMethod.
|
ParameterInfo[] |
GetIndexParameters()
Invokes the .NET member GetIndexParameters.
|
boolean |
getIsSpecialName()
Gets the value of the .NET property IsSpecialName.
|
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. |
NetType |
GetModifiedPropertyType()
Invokes the .NET member GetModifiedPropertyType.
|
NetType[] |
GetOptionalCustomModifiers()
Invokes the .NET member GetOptionalCustomModifiers.
|
NetType |
getPropertyType()
Gets the value of the .NET property PropertyType.
|
NetObject |
GetRawConstantValue()
Invokes the .NET member GetRawConstantValue.
|
NetType[] |
GetRequiredCustomModifiers()
Invokes the .NET member GetRequiredCustomModifiers.
|
MethodInfo |
getSetMethod()
Gets the value of the .NET property SetMethod.
|
MethodInfo |
GetSetMethod()
Invokes the .NET member GetSetMethod.
|
MethodInfo |
GetSetMethod(boolean nonPublic)
Invokes the .NET member GetSetMethod.
|
NetObject |
GetValue(NetObject obj)
Invokes the .NET member GetValue.
|
NetObject |
GetValue(NetObject obj,
BindingFlags invokeAttr,
Binder binder,
NetObject[] index,
CultureInfo culture)
Invokes the .NET member GetValue.
|
NetObject |
GetValue(NetObject obj,
NetObject[] index)
Invokes the .NET member GetValue.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetValue(NetObject obj,
NetObject value)
Invokes the .NET member SetValue.
|
void |
SetValue(NetObject obj,
NetObject value,
BindingFlags invokeAttr,
Binder binder,
NetObject[] index,
CultureInfo culture)
Invokes the .NET member SetValue.
|
void |
SetValue(NetObject obj,
NetObject value,
NetObject[] index)
Invokes the .NET member SetValue.
|
getCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributesData, getDeclaringType, getIsCollectible, getMemberType, getMetadataToken, getModule, getName, getReflectedType, HasSameMetadataDefinitionAs, IsDefinedpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PropertyInfo()
throws java.lang.Throwable
java.lang.Throwablepublic PropertyInfo(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 PropertyInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PropertyInfo, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPropertyInfo instancejava.lang.Throwable - in case of error during cast operationpublic MethodInfo[] GetAccessors() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic MethodInfo[] GetAccessors(boolean nonPublic) throws java.lang.Throwable
nonPublic - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic PropertyAttributes getAttributes() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getCanRead()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getCanWrite()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject GetConstantValue() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic MethodInfo getGetMethod() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic MethodInfo GetGetMethod() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic MethodInfo GetGetMethod(boolean nonPublic) throws java.lang.Throwable
nonPublic - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic ParameterInfo[] GetIndexParameters() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsSpecialName()
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 MemberInfopublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class MemberInfopublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class MemberInfonull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class MemberInfopublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class MemberInfopublic NetType GetModifiedPropertyType() 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 NetType[] GetOptionalCustomModifiers() 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 NetObject GetRawConstantValue() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
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 itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic NetType[] GetRequiredCustomModifiers() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic MethodInfo getSetMethod() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic MethodInfo GetSetMethod() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic MethodInfo GetSetMethod(boolean nonPublic) throws java.lang.Throwable
nonPublic - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject GetValue(NetObject obj) throws java.lang.Throwable
obj - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject GetValue(NetObject obj, BindingFlags invokeAttr, Binder binder, NetObject[] index, CultureInfo culture) throws java.lang.Throwable
obj - the argument of type NetObjectinvokeAttr - the argument of type BindingFlagsbinder - the argument of type Binderindex - the argument of type NetObject[]culture - the argument of type CultureInfojava.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject GetValue(NetObject obj, NetObject[] index) throws java.lang.Throwable
obj - the argument of type NetObjectindex - the argument of type NetObject[]java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class MemberInfoinstance - the new underlying objectpublic void SetValue(NetObject obj, NetObject value) throws java.lang.Throwable
obj - the argument of type NetObjectvalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void SetValue(NetObject obj, NetObject value, BindingFlags invokeAttr, Binder binder, NetObject[] index, CultureInfo culture) throws java.lang.Throwable
obj - the argument of type NetObjectvalue - the argument of type NetObjectinvokeAttr - the argument of type BindingFlagsbinder - the argument of type Binderindex - the argument of type NetObject[]culture - the argument of type CultureInfojava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void SetValue(NetObject obj, NetObject value, NetObject[] index) throws java.lang.Throwable
obj - the argument of type NetObjectvalue - the argument of type NetObjectindex - the argument of type NetObject[]java.lang.Throwable - if the call fails in the bridge or in the CLR