2 // System.Runtime.InteropServices._FieldInfo interface
5 // Kazuki Oikawa (kazuki@panicode.com)
11 using System.Globalization;
12 using System.Reflection;
14 namespace System.Runtime.InteropServices
16 [CLSCompliant (false)]
17 [InterfaceType (ComInterfaceType.InterfaceIsDual)]
18 [Guid ("8A7C1442-A9FB-366B-80D8-4939FFA6DBE0")]
19 public interface _FieldInfo
21 bool Equals (object obj);
23 object[] GetCustomAttributes (bool inherit);
25 object[] GetCustomAttributes (Type attributeType, bool inherit);
31 object GetValue (object obj);
33 object GetValueDirect (TypedReference obj);
35 bool IsDefined (Type attributeType, bool inherit);
37 void SetValue (object obj, object value);
39 void SetValue (object obj, object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture);
41 void SetValueDirect (TypedReference obj, object value);
45 FieldAttributes Attributes {get;}
47 Type DeclaringType {get;}
49 RuntimeFieldHandle FieldHandle {get;}
53 bool IsAssembly {get;}
57 bool IsFamilyAndAssembly {get;}
59 bool IsFamilyOrAssembly {get;}
61 bool IsInitOnly {get;}
65 bool IsNotSerialized {get;}
67 bool IsPinvokeImpl {get;}
73 bool IsSpecialName {get;}
77 MemberTypes MemberType {get;}
81 Type ReflectedType {get;}