System.Reflection.PropertyInfo: Method Members

The methods of System.Reflection.PropertyInfo are listed below. For a list of all members, see the PropertyInfo Members list.

See Also: Inherited members from System.Reflection.MemberInfo

Public Methods

override
Equals(object) : bool

Returns a value that indicates whether this instance is equal to a specified object.

GetAccessors() : MethodInfo[]

Returns an array whose elements reflect the public get, set, and other accessors of the property reflected by the current instance.

abstract
GetAccessors(bool) : MethodInfo[]

Returns an array whose elements reflect the public and, if specified, non-public get, set, and other accessors of the property reflected by the current instance.

GetConstantValue() : object

Returns a literal value associated with the property by a compiler.

GetGetMethod() : MethodInfo

Returns the public get accessor for this property.

abstract
GetGetMethod(bool) : MethodInfo

When overridden in a derived class, returns the public or non-public get accessor for this property.

override
GetHashCode() : int

Returns the hash code for this instance.

abstract
GetIndexParameters() : ParameterInfo[]

When overridden in a derived class, returns an array of all the index parameters for the property.

GetOptionalCustomModifiers() : Type[]

Returns an array of types representing the optional custom modifiers of the property.

GetRawConstantValue() : object

Returns a literal value associated with the property by a compiler.

GetRequiredCustomModifiers() : Type[]

Returns an array of types representing the required custom modifiers of the property.

GetSetMethod() : MethodInfo

Returns the public set accessor for this property.

abstract
GetSetMethod(bool) : MethodInfo

When overridden in a derived class, returns the set accessor for this property.

GetType() : Type
Documentation for this section has not yet been entered.
GetValue(object) : object

Returns the property value of a specified object.

GetValue(object, object[]) : object

Returns the property value of a specified object with optional index values for indexed properties.

abstract
GetValue(object, BindingFlags, Binder, object[], System.Globalization.CultureInfo) : object

When overridden in a derived class, returns the property value of a specified object that has the specified binding, index, and culture-specific information.

SetValue(object, object)

Sets the property value of a specified object.

SetValue(object, object, object[])

Sets the property value of a specified object with optional index values for index properties.

abstract
SetValue(object, object, BindingFlags, Binder, object[], System.Globalization.CultureInfo)

When overridden in a derived class, sets the property value for a specified object that has the specified binding, index, and culture-specific information.