13 [__DynamicallyInvokable]
14 [PermissionSet(
SecurityAction.InheritanceDemand, Name =
"FullTrust")]
23 [__DynamicallyInvokable]
26 [__DynamicallyInvokable]
32 [__DynamicallyInvokable]
35 [__DynamicallyInvokable]
42 [__DynamicallyInvokable]
45 [__DynamicallyInvokable]
52 [__DynamicallyInvokable]
55 [__DynamicallyInvokable]
61 [__DynamicallyInvokable]
64 [__DynamicallyInvokable]
73 [__DynamicallyInvokable]
76 [__DynamicallyInvokable]
86 [__DynamicallyInvokable]
89 [__DynamicallyInvokable]
101 [__DynamicallyInvokable]
104 if ((
object)left == right)
108 if ((
object)left ==
null || (
object)right ==
null || left is RuntimePropertyInfo || right is RuntimePropertyInfo)
112 return left.
Equals(right);
120 [__DynamicallyInvokable]
123 return !(left == right);
130 [__DynamicallyInvokable]
133 return base.Equals(obj);
138 [__DynamicallyInvokable]
141 return base.GetHashCode();
148 [__DynamicallyInvokable]
181 [__DynamicallyInvokable]
188 [__DynamicallyInvokable]
200 [__DynamicallyInvokable]
205 [__DynamicallyInvokable]
211 [DebuggerStepThrough]
213 [__DynamicallyInvokable]
230 [DebuggerStepThrough]
232 [__DynamicallyInvokable]
233 public virtual object GetValue(
object obj,
object[] index)
262 [DebuggerStepThrough]
264 [__DynamicallyInvokable]
282 [DebuggerStepThrough]
284 [__DynamicallyInvokable]
285 public virtual void SetValue(
object obj,
object value,
object[] index)
294 return EmptyArray<Type>.Value;
301 return EmptyArray<Type>.Value;
306 [__DynamicallyInvokable]
314 [__DynamicallyInvokable]
322 [__DynamicallyInvokable]
350 throw new NotImplementedException();
362 throw new NotImplementedException();
375 void _PropertyInfo.
Invoke(uint dispIdMember, [
In] ref Guid riid, uint lcid,
short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr)
377 throw new NotImplementedException();
Obtains information about the attributes of a member and provides access to member metadata.
Discovers the attributes of a parameter and provides access to parameter metadata.
object GetValue(object obj)
Returns the property value of a specified object.
Discovers the attributes of a method and provides access to method metadata.
void GetTypeInfoCount(out uint pcTInfo)
Retrieves the number of type information interfaces that an object provides (either 0 or 1).
virtual Type [] GetRequiredCustomModifiers()
Returns an array of types representing the required custom modifiers of the property.
virtual object GetConstantValue()
Returns a literal value associated with the property by a compiler.
virtual MethodInfo GetMethod
Gets the get accessor for this property.
BindingFlags
Specifies flags that control binding and the way in which the search for members and types is conduct...
virtual MethodInfo SetMethod
Gets the set accessor for this property.
virtual object GetValue(object obj, object[] index)
Returns the property value of a specified object with optional index values for indexed properties.
MethodInfo [] GetAccessors()
Returns an array whose elements reflect the public get and set accessors of the property reflected by...
override int GetHashCode()
Returns the hash code for this instance.
void SetValue(object obj, object value)
Sets the property value of a specified object.
void GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
Maps a set of names to a corresponding set of dispatch identifiers.
SecurityAction
Specifies the security actions that can be performed using declarative security.
abstract PropertyAttributes Attributes
Gets the attributes for this property.
void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo)
Retrieves the type information for an object, which can be used to get the type information for an in...
void Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr)
Provides access to properties and methods exposed by an object.
static bool operator==(PropertyInfo left, PropertyInfo right)
Indicates whether two T:System.Reflection.PropertyInfo objects are equal.
Represents type declarations: class types, interface types, array types, value types,...
Exposes the public members of the T:System.Reflection.PropertyInfo class to unmanaged code.
MethodInfo GetSetMethod()
Returns the public set accessor for this property.
override MemberTypes MemberType
Gets a T:System.Reflection.MemberTypes value indicating that this member is a property.
static bool operator !=(PropertyInfo left, PropertyInfo right)
Indicates whether two T:System.Reflection.PropertyInfo objects are not equal.
abstract Type PropertyType
Gets the type of this property.
virtual Type [] GetOptionalCustomModifiers()
Returns an array of types representing the optional custom modifiers of the property.
Selects a member from a list of candidates, and performs type conversion from actual argument type to...
Discovers the attributes of a property and provides access to property metadata.
new Type GetType()
Provides COM objects with version-independent access to the M:System.Object.GetType method.
abstract ParameterInfo [] GetIndexParameters()
When overridden in a derived class, returns an array of all the index parameters for the property.
PropertyAttributes
Defines the attributes that can be associated with a property. These attribute values are defined in ...
virtual object GetRawConstantValue()
Returns a literal value associated with the property by a compiler.
Specifies that the class can be serialized.
ClassInterfaceType
Identifies the type of class interface that is generated for a class.
Specifies that the parameter is an input parameter.
abstract bool CanWrite
Gets a value indicating whether the property can be written to.
override bool Equals(object obj)
Returns a value that indicates whether this instance is equal to a specified object.
Provides information about a specific culture (called a locale for unmanaged code development)....
abstract void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
When overridden in a derived class, sets the property value for a specified object that has the speci...
MemberTypes
Marks each type of member that is defined as a derived class of T:System.Reflection....
virtual void SetValue(object obj, object value, object[] index)
Sets the property value of a specified object with optional index values for index properties.
The exception that is thrown when a requested method or operation is not implemented.
bool IsSpecialName
Gets a value indicating whether the property is the special name.
abstract bool CanRead
Gets a value indicating whether the property can be read.
MethodInfo GetGetMethod()
Returns the public get accessor for this property.