Table of Contents

Class MetadataPropertyInfo

Namespace
Microsoft.Samples.Debugging.CorMetadata
Assembly
corapi.dll
public sealed class MetadataPropertyInfo : PropertyInfo, ICustomAttributeProvider, _MemberInfo, _PropertyInfo
Inheritance
MetadataPropertyInfo
Implements

Properties

Attributes

Gets the attributes for this property.

CanRead

Gets a value indicating whether the property can be read.

CanWrite

Gets a value indicating whether the property can be written to.

DeclaringType

Type that the method is declared in.

MetadataToken

Metadata token for this method. Be sure to use this in the proper scope.

Name

Name of the Method, not including the class name.

PropertyType

Gets the type of this property.

ReflectedType

Gets the class object that was used to obtain this instance of MemberInfo.

Methods

GetAccessors(bool)

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

GetCustomAttributes(bool)

When overridden in a derived class, returns an array of all custom attributes applied to this member.

GetCustomAttributes(Type, bool)

When overridden in a derived class, returns an array of custom attributes applied to this member and identified by Type.

GetGenericArgumentNames()
GetGetMethod(bool)

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

GetIndexParameters()

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

GetSetMethod(bool)

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

GetValue(object, BindingFlags, Binder, object[], CultureInfo)

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

HasCustomAttribute(string)

Does the function have the custom attribute on it.

IsDefined(Type, bool)

When overridden in a derived class, indicates whether one or more attributes of the specified type or of its derived types is applied to this member.

SetValue(object, object, BindingFlags, Binder, object[], 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.