Class MetadataFieldInfo
- Namespace
- Microsoft.Samples.Debugging.CorMetadata
- Assembly
- corapi.dll
public sealed class MetadataFieldInfo : FieldInfo, ICustomAttributeProvider, _MemberInfo, _FieldInfo
- Inheritance
-
MetadataFieldInfo
- Implements
Properties
- Attributes
Gets the attributes associated with this field.
- DeclaringType
Gets the class that declares this member.
- FieldHandle
Gets a RuntimeFieldHandle, which is a handle to the internal metadata representation of a field.
- FieldType
Gets the type of this field object.
- MemberType
Gets a MemberTypes value indicating that this member is a field.
- MetadataToken
Gets a value that identifies a metadata element.
- Name
Gets the name of the current member.
- ReflectedType
Gets the class object that was used to obtain this instance of MemberInfo.
Methods
- 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.
- GetValue(object)
When overridden in a derived class, returns the value of a field supported by a given object.
- 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, CultureInfo)
When overridden in a derived class, sets the value of the field supported by the given object.